kgiedrius/laravel-random-job-database-queue-driver
Laravel 5 Random Job Queue Driver
Just like the database queue driver, but process jobs in random order.
Install
Require the latest version of this package with Composer
composer require KGiedrius/laravel-random-job-database-queue-driver:"1.x"
Add the Service Provider to the providers array in config/app.php
KGiedrius\Queue\DbRandServiceProvider::class,
You need to create the migration table for queues and run it.
$ php artisan queue:table
$ php artisan migrate
In config/queue.php.
'default' => 'DbRand',
'connections' => array(
'DbRand' => array(
'driver' => 'DbRand',
'table' => 'jobs',
'queue' => 'default',
'expire' => 60,
),
...
}
For more info see http://laravel.com/docs/queues
Related Packages
bschmitt/laravel-amqp
AMQP wrapper for Laravel and Lumen to publish and consume messages
2,787,132
281
yozaz/laravel-swiftmailer
Laravel and SwiftMailer integration fix for Queued deamon workers
73,993
24
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| 1.8 | >=5.5.0 | 5.0.x| | MIT | |
| 1.7 | >=5.5.0 | 5.0.x| | MIT | |
| 1.6 | >=5.5.0 | 5.0.x| | MIT | |
| 1.5 | >=5.5.0 | 5.0.x| | MIT | |
| 1.4 | >=5.5.0 | 5.0.x| | MIT | |
| 1.3 | >=5.5.0 | 5.0.x| | MIT | |
| 1.2 | >=5.5.0 | 5.0.x| | MIT | |
| 1.1 | >=5.5.0 | 5.0.x| | MIT |