lukaszaleckas/laravel-mysql-queue

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

dev-main 2023-03-25 17:21 UTC

This package is auto-updated.

Last update: 2024-03-25 19:20:01 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
]