Laravel Amqp Consumer
Laravel package to handle the consumption of AMQP messages.
Installation
Via composer:
composer require softonic/laravel-amqp-consumer
IMPORTANT Until queue multibinding PR will be included in the official repository, you will need to add this fragment to your composer.json
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/softonic/laravel-amqp.git"
}
],
"require": {
"bschmitt/laravel-amqp": "2.0.7.1"
}
}
Documentation
It is possible to configure the basic AMQP information, you can check it in vendor/softonic/laravel-amqp-consumer/config/amqp-consumer.php
.
Testing
softonic/laravel-amqp-consumer
has a PHPUnit test suite and a coding style compliance test suite using PHP CS Fixer.
To run the tests, run the following command from the project folder.
$ docker-compose run test
License
The Apache 2.0 license. Please see LICENSE for more information.