doge-dev / laravel-mongo-queue
Laravel Queue implementation for MongoDB
Installs: 29 798
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 1
Open Issues: 1
Requires
This package is not auto-updated.
Last update: 2024-10-19 12:14:36 UTC
README
Laravel Queues implementation for MongoDB
Installation
Add the service provider in config/app.php:
DogeDev\Queue\MongodbQueueServiceProvider::class,
If you want to use MongoDB as your database backend, change the the driver in config/queue.php:
'connections' => [
'database' => [
'driver' => 'mongodb',
'table' => 'jobs',
'queue' => 'default',
'expire' => 60,
],
If you want to use MongoDB to handle failed jobs, change the database in config/queue.php:
'failed' => [
'database' => 'mongodb',
'table' => 'failed_jobs',
],