2017 © Pedro Peláez
 

library snapshot-doctrine-adapter

Snapshot Doctrine Adapter for ProophEventStore

image

prooph/snapshot-doctrine-adapter

Snapshot Doctrine Adapter for ProophEventStore

  • Saturday, October 14, 2017
  • by prooph
  • Repository
  • 4 Watchers
  • 6 Stars
  • 9,426 Installations
  • PHP
  • 1 Dependents
  • 1 Suggesters
  • 8 Forks
  • 2 Open issues
  • 8 Versions
  • 14 % Grown

The README.md

snapshot-doctrine-adapter

Doctrine Adapter for the Snapshot Store, (*1)

CAUTION: Support for the package will end at 31 December 2017. Use https://github.com/prooph/pdo-snapshot-store instead!

Build Status Coverage Status Gitter, (*2)

Set Up

How to use the adapter is explained in the prooph/event-store docs. To help you with setting up the snapshot tables we ship a SnapshotStoreSchema helper with the package. You can use it in a doctrine migrations script or manually by passing in a Doctrine\DBAL\Schema\Schema and executing the generated SQL afterwards., (*3)

Interop Factory

Some general notes about how to use interop factories shipped with prooph components can be found in the event store docs. Use the doctrine snapshot adapter factory to set up the adapter. If your IoC container supports callable factories you can register the factory under a service id of your choice and configure this service id as $config['prooph']['snapshot_store']['adpater']['type'] = <adapter_service_id>., (*4)

Support

Contribute

Please feel free to fork and extend existing or add new plugins and send a pull request with your changes! To establish a consistent code quality, please provide unit tests for all your changes and may adapt the documentation., (*5)

Dependencies

Please refer to the project composer.json for the list of dependencies., (*6)

License

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

The Versions