prooph/event-store-doctrine-adapter
Doctrine DBAL adapter for Prooph Event Store. Stores and loads event streams using Doctrine connections, with support for transactional appends and stream persistence in relational databases. Useful for event-sourced PHP/Laravel apps needing DB-backed storage.
#Fixed
This version is compatible with prooph/event-store v6.0 only and supports iterator event streams and replay functionality.
Fixed
Beta release with support for upcoming prooph/event-store v6
Milestone: v3.0
Version 2.0 of the DoctrineEventStore adapter ships with support for prooph/event-store 5.0 and prooph/common 3.3. Furthermore, the adapter no longer takes a configuration array as constructor argument but instead requires all dependencies to be injected in the constructor. A new container-aware factory will help you set up the adapter.
DoctrineEventStoreAdapterFactory that works with a ``Interop\Container` to help you set up the adapterProoph\Common\Messaging\MessageFactory to translate persisted events back to event objectsProoph\Common\Messaging\MessageConverter to translate event object into PHP arraysProoph\EventStore\Adapter\PayloadSerializer to serialize/unserialize event payload dataevent_class is no longer needed as the ``MessageFactory` is responsible of creating the correct event object based on the event name and event dataIt could happen that fetching events causees a fatal error because the default fetch mode of the DBAL connection is set to \PDO::FETCH_OBJ. This issue has been fixed by setting the fetch mode of the stmt to \PDO::FETCH_ASSOC explicitly.
Fixes: Metdadata was ignored when loading a stream with a min version
Small optimization for v0.3.1
Fixes: Stored metadata is missing in loaded event
Use stable version of ProophEventStore
Requires ProophEventStore >= 0.5
How can I help you explore Laravel packages today?