Skip to content

sandrokeil/snapshot-doctrine-adapter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Doctrine Adapter for the Snapshot Store

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%