prooph / snapshot-doctrine-adapter
Snapshot Doctrine Adapter for ProophEventStore
Installs: 20 659
Dependents: 1
Suggesters: 0
Security: 0
Stars: 6
Watchers: 6
Forks: 8
Open Issues: 2
Requires
- php: ~5.5|~7.0
- doctrine/dbal: ^2.5
- prooph/common: ^3.5
- prooph/event-store: ^6.0
Requires (Dev)
- container-interop/container-interop: ^1.1
- fabpot/php-cs-fixer: 1.7.*
- phpunit/phpunit: 4.8.*
- sandrokeil/interop-config: ^1.0
- satooshi/php-coveralls: dev-master
Suggests
- container-interop/container-interop: For usage of provided factories
- sandrokeil/interop-config: For usage of provided factories
Conflicts
This package is auto-updated.
Last update: 2024-11-17 01:42:27 UTC
README
Doctrine Adapter for the Snapshot Store
#CAUTION: Support for the package will end at 31 December 2017. Use https://github.com/prooph/pdo-snapshot-store instead!
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
- Ask questions on Stack Overflow tagged with #prooph.
- File issues at https://github.com/prooph/snapshot-doctrine-adapter/issues.
- Say hello in the prooph gitter chat.
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.