Last updated at 26 March 2018 | Published at 21 February 2018
EvenSauce consists of multiple parts. Besides the main package you’ll need persistence and a dispatcher.
First you’ll need to install the main package. This package provides the base functionality, some interfaces and test-tooling.
composer require eventsauce/eventsauce
At the time of writing a Doctrine implementation of the
MessageRepository is provided separately:
composer require eventsauce/doctrine-message-repository
There’s also a RabbitMQ dispatcher available. This package is an extension to the php-amqplib/rabbitmq-bundle package.
This is a Symfony specific package which offers a solid integration with the framework. This package provides an
implementation of the
EventSauce\EventSourcing\Consumer interface, binding it to the
OldSound\RabbitMqBundle\RabbitMq\ConsumerInterface which ties into the bundle.
composer require eventsauce/rabbitmq-bundle-bindings