Download the PHP package tkachikov/chronos without Composer
On this page you can find all versions of the php package tkachikov/chronos. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package chronos
This package for setting commands in schedule.
Installation
Require this package with composer using the following command
Run Chronos command for install:
Authorization
In defaults pages open for all users and also without auth middleware.
For open setting pages for authenticated users need uncommented 'auth' middleware in config chronos.php:
For authorization in production uncommented Chronos auth in config chronos.php and set statements in app/Providers/ChronosServiceProvider:
System commands
Only your application commands (App\) and Chronos commands can be run and scheduled from Chronos.
System commands (Laravel and other packages) are disabled by default.
To allow some of them, add their names or classes in config chronos.php:
Usage
Visit route /chronos, example: localhost:8000/chronos
For testing
Chronos has commands for testing (chronos:test, chronos:answer, chronos:dd, ...).
By default they are registered only in the local environment.
To enable or disable them explicitly set CHRONOS_TEST_COMMANDS=true or false in .env.
Open chronos:test command:
Run chronos:test command from queue and reload page:
Run chronos:test command in real time. Out messages pushing in custom terminal:
Run attributes
If you need off run command from Chronos dashboard (notRunInManual) or schedules (notRunInSchedule) set in ChronosCommand attribute:
Logging and states
For logging command messages and set status added trait ChronosRunnerTrait:
Create schedules
Open your command and set params for it in Create schedule and save.
For off command click button edit, check to off Run and save:
Group name
In default base class name directory for group name.
You must be setting property group in ChronosCommand attribute. Example:
Statistics
For calculate statistics run commands you must create schedule for chronos:update-metrics
License
This package is open-sourced software licensed under the MIT license.
All versions of chronos with dependencies
illuminate/support Version ^10.0|^11.0|^12.0|^13.0
tkachikov/memory Version ^1.2
tkachikov/laravel-withtrashed Version ^1.0