avallac / silex-rabbit-component
A Silex component for working with RabbitMQ
v3.1.0
2020-03-30 00:40 UTC
Requires
- php: ^7.2
- ext-json: *
- ext-pcntl: *
- avallac/silex-jsonvalidator-component: ^1.0
- php-amqplib/php-amqplib: ^2.7
- silex/silex: ~2.0
Requires (Dev)
- phpunit/phpunit: ~8.0
README
silex-rabbit-component is a Silex service provider for working with Rabbit.
Installation
Install the silex-rabbit-component using composer. This project uses sematic versioning.
composer require avallac/silex-rabbit-component "~2.0"
Parameters
Services
- rabbitChannel: An instance of Rabbit Channel
Registering
$app->register(new RabbitChannelProvider());