定制 prooph/snapshot-doctrine-adapter 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

prooph/snapshot-doctrine-adapter

最新稳定版本:v1.1.0

Composer 安装命令:

composer require prooph/snapshot-doctrine-adapter

包简介

Snapshot Doctrine Adapter for ProophEventStore

README 文档

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!

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.

统计信息

  • 总下载量: 20.67k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 0
  • 依赖项目数: 1
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 4
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2015-10-11