rebuy / amqp-php-consumer
基于注解创建AMQP消费者的库
v1.0.0
2024-06-27 15:40 UTC
Requires
- php: ^8.1
- doctrine/annotations: ^1.13.3|^2.0.1
- doctrine/collections: ^1.6|^2.1.2
- php-amqplib/php-amqplib: ^3.0.0
- symfony/event-dispatcher: ^6.4|^7.0
Requires (Dev)
- codeception/verify: ^2.1.1
- jms/serializer: ^3.15.0
- league/statsd: ~1.5
- phpspec/prophecy-phpunit: ^2.0
- phpunit/phpunit: ^9.5.10
- psr/log: ^1.0
- symfony/serializer: ^6.4|^7.0
- symfony/stopwatch: ^6.4|^7.0
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: 2024-08-27 16:04:23 UTC
README
介绍
此库允许您使用doctrine annotations定义AMQP消费者。消费消息时使用videlalvaro/php-amqplib库。
功能
- 基于注解定义消费者
- 使用jms/serializer反序列化AMQP消息
- 注册错误处理器
- 注册消费前后的事件
文档
更多信息,请参阅文档。
许可证
此库采用MIT许可证发布。有关更多信息,请参阅所包含的LICENSE文件。