averor/cqrs-es-bundle

Symfony bundle for message-bus and extensions

Installs: 49

Dependents: 1

Suggesters: 0

Security: 0

Stars: 0

Forks: 0

Type:symfony-bundle

dev-master / 2.x-dev 2018-10-03 12:10 UTC

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']