Download the PHP package acdphp/laravel-schedule-police without Composer
On this page you can find all versions of the php package acdphp/laravel-schedule-police. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download acdphp/laravel-schedule-police
More information about acdphp/laravel-schedule-police
Files in acdphp/laravel-schedule-police
Package laravel-schedule-police
Short Description Stop, start or execute scheduled commands from a simple dashboard without redeploying, while maintaining the visibility, control, and reviewability of the configurations in your codebase.
License MIT
Informations about the package laravel-schedule-police
Laravel Schedule Police
Use this if you need to:
- :white_check_mark: Stop and start scheduled commands without redeploying.
- :white_check_mark: Execute commands without going into server console.
- :white_check_mark: Keep the visibility, control, and reviewability of the schedule configurations in your codebase.
Compatibility Matrix
| Laravel | Schedule Police |
|---|---|
| 11.x ~ 13.x | 2.x |
| 8.x ~ 10.x | 1.x |
Installation
-
Install the package
-
Run the migration.
- Publish assets
Config
You may override the config by publishing it.
You may also just define environment variables if you don't need to publish the config.
-
Disable command execution in the dashboard.
- Add prefix to routes.
Dashboard
After installation, you may access the dashboard via the /schedule-police route.
Authorization
By default, you will only be able to access this dashboard in the local environment. However, you may specify authorization for non-local environments by defining viewSchedulePolice gate, typically within the boot method of the App\Providers\AuthServiceProvider class.
Screenshots
Events list page
Execute page
Testing
Linting and static analysis
Lint Fix
License
The MIT License (MIT). Please see License File for more information.