aedart/athenaeum-console

Offers a way to register commands and schedules via configuration

5.22.2 2021-11-24 13:13 UTC

README

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
// configs/commands.php
return [
    \Acme\Console\DatabaseDumpCommand::class,
    \Acme\Console\ExportPicturesCommand::class,
    \Acme\Console\RestoreUserCommand::class,
];

Example: Schedules

<?php
// configs/schedule.php
return [
    'tasks' => [
        \Acme\Tasks\DefinesCacheCleanupTasks::class,
        \Acme\Tasks\DefinesUserTasks::class,
        \Acme\Tasks\DefinesPeriodicNotificationTasks::class
    ]
];

Documentation

Please read the official documentation for additional information.

Repository

The mono repository is located at github.com/aedart/athenaeum

Versioning

This package follows Semantic Versioning 2.0.0

License

BSD-3-Clause, Read the LICENSE file included in this package