Doctrine Adapter for the Snapshot Store
PHP
Latest commit 1ce0c2e Oct 14, 2016 @prolic prolic committed on GitHub Update composer.json
Permalink
Failed to load latest commit information.
src
tests
.coveralls.yml
.gitignore
.php_cs
.travis.yml
LICENSE initial commit Oct 11, 2015
README.md
composer.json
phpunit.xml.dist

README.md

snapshot-doctrine-adapter

Doctrine Adapter for the Snapshot Store

Build Status Coverage Status Gitter

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.

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

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.

Dependencies

Please refer to the project composer.json for the list of dependencies.

License

Released under the New BSD License.