lukaszaleckas/laravel-mysql-queue

There is no license information available for the latest version (dev-main) of this package.

dev-main 2024-10-05 11:58 UTC

This package is auto-updated.

Last update: 2024-12-05 12:22:11 UTC


README

Installation

  1. Run:
composer require lukaszaleckas/laravel-mysql-queue

Service provider should be automatically registered, if not add

LaravelMysqlQueue\MysqlQueueServiceProvider::class

to application's your app.php.

  1. Add Mysql's connection to your queue.php config:
'mysql'      => [
    'driver'          => 'mysql',
    'default_queue'   => 'default',
    'connection'      => 'mysql',
    'lock_name_prefix' => 'mysql_queue_',
    'lock_timeout'    => 60
]