2017 © Pedro Peláez
 

library event-store-doctrine-adapter

Doctrine Adapter for ProophEventStore

image

prooph/event-store-doctrine-adapter

Doctrine Adapter for ProophEventStore

  • Saturday, April 8, 2017
  • by codeliner
  • Repository
  • 8 Watchers
  • 15 Stars
  • 24,726 Installations
  • PHP
  • 5 Dependents
  • 2 Suggesters
  • 6 Forks
  • 0 Open issues
  • 21 Versions
  • 7 % Grown

The README.md

Doctrine Adapter for ProophEventStore

Build Status Coverage Status Gitter, (*1)

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., (*2)

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., (*3)

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., (*4)

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, (*5)

Requirements

License

Released under the New BSD License., (*6)

The Versions