doge-dev / laravel-mongo-queue
Laravel Queue implementation for MongoDB
Installs: 31 316
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-12-14 12:54:18 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',
],