GitHub - Officegurudk/database-multi-queue: An extension of the database queue to enable adding a job/event to multiple queues at the same time

Extension to Laravel's database connector

This extension will allow the user to push a job (or event) to multiple queues at the same time.

How to use

Instead of using database as the QUEUE_CONNECTION, use database-multi. This works just like the database connector, except you can use an array as an events $broadcastQueue property.

Config

Add this to your config/queue.php files connections section:

    'connections' => [
        ...,

        'multi-database' => [
            'driver' => 'multi-database',
            'table' => 'jobs',
            'queue' => 'default',
            'retry_after' => 90,
        ],

    ],