jphooiveld / prooph-message-repository
连接到Prooph事件存储的事件存储库EventSauce
v1.0.0
2020-06-06 19:34 UTC
Requires
- php: ^7.2.5|^8.0
- eventsauce/eventsauce: ^0.8.1
- prooph/event-store: ^7.0
Requires (Dev)
- phpunit/phpunit: ^8.0
- roave/security-advisories: dev-master
This package is auto-updated.
Last update: 2024-09-07 05:06:41 UTC
README
信息
此包将Prooph Event Store集成到EventSauce的消息存储库。
您想使用的任何Prooph事件存储实现由您自行决定。
还建议阅读EventSauce和Prooph的文档,以确保两者使用相同的策略(单个流或每个聚合一个流),否则可能会遇到错误。
此库受到了Frank de Jonge为EventSauce提供的Doctrine Message Repository的启发,并借鉴了相同的测试概念和结构。
您决定使用的事件存储库必须使用SerializablePayloadMessageFactory
类,如果需要消息工厂。
许可证
此包采用MIT许可证。请参阅代码中的完整许可证。