Download the PHP package mostafaabdelbaset/laravel-queue-rabbitmq without Composer
On this page you can find all versions of the php package mostafaabdelbaset/laravel-queue-rabbitmq. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mostafaabdelbaset/laravel-queue-rabbitmq
More information about mostafaabdelbaset/laravel-queue-rabbitmq
Files in mostafaabdelbaset/laravel-queue-rabbitmq
Package laravel-queue-rabbitmq
Short Description RabbitMQ driver for Laravel Queue
License MIT
Informations about the package laravel-queue-rabbitmq
RabbitMQ Queue driver for Laravel
Installation
You can install this package via composer using this command:
The package will automatically register itself using Laravel auto-discovery.
Setup connection in config/queue.php
Usage
Once you completed the configuration you can use Laravel Queue API. If you used other queue drivers you do not need to change anything else. If you do not know how to use Queue API, please refer to the official Laravel documentation: http://laravel.com/docs/queues
Using other AMQP transports
The package uses enqueue/amqp-lib transport which is based on php-amqplib.
There is possibility to use any amqp interop compatible transport, for example enqueue/amqp-ext
or enqueue/amqp-bunny
.
Here's an example on how one can change the transport to enqueue/amqp-bunny
.
First, install desired transport package:
Change the factory class in config/queue.php
:
Testing
You can run the tests with:
Contribution
You can contribute to this package by discovering bugs and opening issues. Please, add to which version of package you create pull request or issue. (e.g. [5.2] Fatal error on delayed job)
All versions of laravel-queue-rabbitmq with dependencies
ext-json Version *
illuminate/database Version 5.6.*|5.7.*
illuminate/support Version 5.6.*|5.7.*
illuminate/queue Version 5.6.*|5.7.*
enqueue/amqp-lib Version 0.8.*
queue-interop/amqp-interop Version ^0.7