fidum/laravel-schedule-queue-command
Provides the ability to queue commands from the Laravel scheduler.
Adds a queueCommand function to the scheduler that executes the equivalent of Artisan::queue(...) on the given schedule. It also provides the ability to optionally customise the queue and connection if needed.
Installation
You can install the package via composer:
composer require fidum/laravel-schedule-queue-command
Usage
In your laravel projects app/Console/Kernel.php:
$schedule->queueCommand(FooCommand::class)->everyMinute();
$schedule->queueCommand(FooCommand::class, ['some-argument' => 'foo']);
$schedule->queueCommand(FooCommand::class, ['some-argument' => 'foo'], 'queue');
$schedule->queueCommand(FooCommand::class, ['some-argument' => 'foo'], 'queue', 'connection');
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Credits
License
The MIT License (MIT). Please see License File for more information.
Related Packages
Improves Laravel Nova initial load speeds by combining all third party package a...
Commands to help you keep your laravel translations organized.
Generates pseudo language files from another locale to make it easy to see what...
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 2.0.1 | ^8.1 | ^11.0| | MIT | |
| 2.0.0 | ^8.1 | ^11.0| | MIT | |
| 1.0.2 | ^8.1 | ^10.0| | MIT | |
| 1.0.1 | ^8.1 | ^9.2| | MIT | |
| 1.0.0 | ^8.1 | ^9.2 | MIT | |
| 0.0.2 | ^8.1 | ^9.0 | MIT | |
| 0.0.1 | ^8.1 | ^9.0 | MIT |