Broadway provides several event store implementations. By default the InMemoryEventStore is used.
There a several optional persisting event store implementations:
These can be very easily installed using Symfony Flex.
You can also create your own event store implementation by implementing the EventStore interface.
Next, create a service definition for it:
# services.yaml
my_event_store:
class: MyEventStore
And configure it in the bundle config:
# config.yaml
broadway:
# a service definition id implementing Broadway\EventStore\EventStore,
event_store: "my_event_store"
How can I help you explore Laravel packages today?