Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Event Store Doctrine Adapter Laravel Package

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.

View on GitHub
Deep Wiki
Context7
v3.3.0

Added

Removed

  • nothing

Fixed

  • nothing
v3.2.1

#Fixed

  • #37 better concurrency exception message
v3.2.0

Added

  • #36 add concurrency exception

Fixed

  • #36 Remove "aggregate_type" from unique index and create unique index on the fly
v3.1.1

Changed:

  • Improved database schema
  • Update to interop config 1.0
  • Bugfix for factory
  • Update dependend minimum requirements
v3.1.0

Changed

v3.0

This version is compatible with prooph/event-store v6.0 only and supports iterator event streams and replay functionality.

Added

  • #16 Replay functionality
  • #13 Event stream as iterator

Changed

  • #28 requires doctrine dbal >= 2.5 as 2.4 does not work on PHP7
  • #23 Use interop-config to reduce factory code

Fixed

  • #20 Namespace organisation in tests
v3.0-beta.2

Fixed

  • #25 Wrong event order while replaying events of multiple aggregates managed with a single stream
v3.0-beta.1

Beta release with support for upcoming prooph/event-store v6

Milestone: v3.0

v2.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.

Added

  • DoctrineEventStoreAdapterFactory that works with a ``Interop\Container` to help you set up the adapter

Changed

  • The adapter now requires all dependencies in the constructor instead of a configuration array - BC Break
  • The adapter now works with a Prooph\Common\Messaging\MessageFactory to translate persisted events back to event objects
  • The adapter now works with a Prooph\Common\Messaging\MessageConverter to translate event object into PHP arrays
  • The adapter now works with a Prooph\EventStore\Adapter\PayloadSerializer to serialize/unserialize event payload data

Removed

  • The table column event_class is no longer needed as the ``MessageFactory` is responsible of creating the correct event object based on the event name and event data
  • Inheritance support is removed by adding the final keyword to the adapter class
v2.0-beta.1
v1.0.1

Fixed

It 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.

v1.0

BC Breaks!

  • The schema for an event stream changed completely. Please checkout the sample scripts!
  • the adapter was aligned according to PES v3.0 it can no longer be used together with PES < v3.0. Use the latest 0.x version of the adapter together with PES 2.x
v0.3.3

Fixes: Metdadata was ignored when loading a stream with a min version

v0.3.2

Small optimization for v0.3.1

v0.3.1

Fixes: Stored metadata is missing in loaded event

v0.3.0

Added

  • databse set up examples

Changed

  • DoctrineEventStoreAdapter::createSchemaFor is now public and has a new signature
  • "-" signs are now replaced with "_" in tablenames
    • please change your tablenames if they include "-" signs
v0.2.0

Use stable version of ProophEventStore

0.1.0

Requires ProophEventStore >= 0.5

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
cuci/prototurk-sdk-symfony
clementtalleu/easyadmin-markdown-bundle
codeflextech/permission-manager
karnoweb/livewire-datepicker
sayedenam/sayed-dashboard
milito/query-filter
apiboxsym/user-bundle
apiboxsym/health-check-bundle
jayeshmepani/jpl-moshier-ephemeris-php
elnasnato/laraliveui
labrodev/rest-sdk
sampaui/sampaui
babelqueue/php-sdk
facebook/capi-param-builder-php
babelqueue/symfony
hamzi/corewatch
minionfactory/raw-hydrator
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager