averor / cqrs-es-bundle
Symfony bundle for message-bus and extensions
dev-master / 2.x-dev
2018-10-03 12:10 UTC
Requires
- php: >=7.1
- averor/event-sourcing: dev-master
- averor/message-bus: dev-master
- averor/query-bus: dev-master
- psr/log: ^1.0
- ramsey/uuid: ^3.8
- symfony/dependency-injection: ^4.1
- symfony/http-kernel: ^4.1
- symfony/monolog-bundle: ^3.3
- symfony/yaml: ^4.1
Suggests
- symfony/proxy-manager-bridge: To make use of lazy handlers/listeners
This package is auto-updated.
Last update: 2024-10-29 05:22:43 UTC
README
...description goes here...
Install using Composer:
composer require averor/cqrs-es-bundle
Enable bundle in Symfony
Tag handlers:
averor.message_bus.command_handler
averor.message_bus.event_listener
averor.message_bus.query_handler
or use Interface-based service configuration:
_instanceof:
Averor\MessageBus\Contract\CommandHandler:
tags: ['averor.message_bus.command_handler']
Averor\MessageBus\Contract\EventListener:
tags: ['averor.message_bus.event_listener']
Averor\MessageBus\QueryBus\Contract\QueryHandler:
tags: ['averor.message_bus.query_handler']