Download the PHP library mmanazar/laravel-amqp

On this page you can find all versions of the php package mmanazar/laravel-amqp. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

Please rate this library. Is it a good library?

All versions of laravel-amqp with dependencies

Requires php Version >=5.5.9
php-amqplib/php-amqplib Version 2.*
illuminate/support Version >=5.1

Informations about the package laravel-amqp


AMQP wrapper for Laravel and Lumen to publish and consume messages especially from RabbitMQ

Build Status Latest Stable Version License




Add the following to your require part within the composer.json:



Lumen and Laravel Both

Create a config folder in the root directory of your Lumen application and copy the content from vendor/bschmitt/laravel-amqp/config/amqp.php to config/amqp.php.

Adjust the properties to your needs in here or .env file

Register the Lumen Service Provider in bootstrap/app.php:

Add Facade Support for Lumen 5.2+


Open config/app.php and add the service provider and alias:

Publishing a message

Push message with routing key

Push message with routing key and create queue

Push message with routing key and overwrite properties

Push bulk messages with routing key

Consuming messages

Consume messages, acknowledge and stop when no message is left

Consume messages forever

Consume messages, with custom settings

Fanout example

Publishing a message

Consuming messages



This package is open-sourced software licensed under the MIT license

The package mmanazar/laravel-amqp contains the following files

Loading the files please wait ....