softonic / laravel-amqp-consumer
Laravel Amqp Consumer
Installs: 12 280
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: >=7.3
- bschmitt/laravel-amqp: ^2.0.9
- laravel/framework: ^7.0 || ^8.0 || ^9.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- mockery/mockery: ^1.2
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2024-10-27 21:01:03 UTC
README
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.