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

Doctrine Adapter for ProophEventStore

Build Status Coverage Status Gitter

#CAUTION: The Doctrine adapter is not compatible With prooph/event-store v7. Use the new PDO Event Store instead! Support for the adapter will end at 31 December 2017.

Use Prooph Event Store with Doctrine DBAL.

Database Set Up

The database structure depends on the stream strategies you want to use for your aggregate roots. You can find example SQLs for MySql in the scripts folder and an EventStoreSchema tool which you can use an a doctrine migrations scirpt.

The database schema is only a suggestion. The aggregate_type column has a length of 150 chars. If you have very long class names you should increase this length, otherwise it could lead to errors in your application. This length should be equal with the aggregate_type length in the snapshot table.

Limitations

When using MySQL while enabling oneStreamPerAggregate option, the transaction handling is broken! For more information see: https://github.com/prooph/pdo-event-store/issues/6

Requirements

License

Released under the New BSD License.

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.
emuniq/filament-browser-notifications
syriable/filament-translator
hungnm28/livewire-form
wenprise/eloquent
crudly/encrypted
fadion/bouncy
cuci/prototurk-sdk
gos/pubsub-router-bundle
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