Command and Schedule Registration
This package offers a way to register commands and schedules via configuration.
It serves as an alternative to the default registration method provided by Laravel.
Example: Commands
<?php
// config/commands.php
return [
\Acme\Console\DatabaseDumpCommand::class,
\Acme\Console\ExportPicturesCommand::class,
\Acme\Console\RestoreUserCommand::class,
];
Example: Schedules
<?php
// config/schedule.php
return [
'tasks' => [
\Acme\Tasks\DefinesCacheCleanupTasks::class,
\Acme\Tasks\DefinesUserTasks::class,
\Acme\Tasks\DefinesPeriodicNotificationTasks::class
]
];