laravel-database-schedule
laravel-database-schedule copied to clipboard
True Laravel 11 support
Since kernel.php no longer exists we needed to get the artisan commands another way. Also it seems during setup that it tries to do some scheduling before the schedules table exists, so added some code for that.
PR Summary
-
Enhancement to Permission Sets Introducing expanded command permissions within
database-schedule.php. This enhancement gives a broader access control and functionality, including commands for installation, channel control, about, documentation, model management, storage unlinking, language publishing, and completion. -
Preventive Check in Database Scheduler A checking mechanism has been incorporated in
DatabaseSchedulingServiceProvider.php. This update confirms the existence of 'schedules' table before executing the schedule, thereby reducing potential errors or exceptions. -
Upgraded Command Retrieval Updated
CommandService.phpreplaces the use ofKernelwith theArtisanfacade for retrieving commands. This change enhances the process of fetch all commands, improving efficiency and the overall performance.