Looking to hire Laravel developers? Try LaraJobs

laravel-schedule-queue-command maintained by fidum

Description
Provides the ability to queue commands from the Laravel scheduler.
Author
Last update
2026/03/30 23:46 (dev-dependabot/github_actions/dependabot/fetch-metadata-3.0.0)
License
Downloads
17 522

Comments
comments powered by Disqus

Provides the ability to queue commands from the Laravel scheduler.

Latest Version on Packagist GitHub Workflow Status (with branch) Twitter Follow

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.