rebuy / amqp-php-consumer
Library for creating attribute based AMQP consumers
v2.0.0
2026-05-19 09:04 UTC
Requires
- php: ^8.4
- doctrine/collections: ^1.6|^2.6|^3.0
- php-amqplib/php-amqplib: ^3.0.0
- symfony/event-dispatcher: ^6.4|^7.4|^8.0
Requires (Dev)
- codeception/verify: ^3.4.0
- friendsofphp/php-cs-fixer: ^3.95
- jms/serializer: ^3.15.0
- league/statsd: ~1.5
- phpspec/prophecy-phpunit: ^2.0
- phpunit/phpunit: ^13.1.9
- psr/log: ^1.0
- symfony/serializer: ^6.4|^7.4|^8.0
- symfony/stopwatch: ^6.4|^7.4|^8.0
- vimeo/psalm: ^6.16
Suggests
- jms/serializer: required if you'd like to use the jms serializer
- league/statsd: required if you'd like to use the TimingSubscriber
- psr/log: required if you'd like to use the LogHandler or LogSubscriber
- symfony/serializer: required if you'd like to use the symfony serializer
- symfony/stopwatch: required if you'd like to use the TimingSubscriber in the amqp package
This package is auto-updated.
Last update: 2026-05-19 09:10:57 UTC
README
Introduction
This library allows you to define consumers for AMQP with attributes. For consuming messages the AMQP-Library videlalvaro/php-amqplib is used.
Features
- Define consumers based on attributes
- Deserialize AMQP messages with the jms/serializer or symfony/serializer
- Register error handlers
- Register pre and post consume events
Documentation
For more information, see the documentation.
License
This library is released under the MIT license. See the included LICENSE file for more information.