carnage / cqrs
Cqrs/Es module for zf2
0.2.0
2017-09-17 13:12 UTC
Requires
- php: >=5.6
- carnage/zendfony-cli: ~0.2.0
- doctrine/collections: ^1.0
- doctrine/dbal: ^2.5.1
- ircmaxell/random-lib: ^1.0.0
- symfony/console: ^3.2
- zendframework/zend-log: ^2.5 || ^3.0
- zendframework/zend-mvc: ^2.5 || ^3.0
- zendframework/zend-servicemanager: ^2.5 || ^3.0
Requires (Dev)
- mockery/mockery: ~0.9.1
- phpunit/phpunit: ^5.0
This package is auto-updated.
Last update: 2024-12-16 03:03:54 UTC
README
Cqrs module for ZF2 taking heavy inspiration from broadway https://github.com/qandidate-labs/broadway designed to fit in with ZF2's design patterns.
This module is a work in progress, check back later.
It is suggested that you maintain your own fork until a tagged version of this library is release.
Licence
Licenced under MIT
TODO
- upgrade to zf2.5 only pull in bits that are required (eg exclude zend db in favor of doctrine dbal)
NOTES
Event Namespace contains 5 things:
- Event Manager: for classes/code that handle the triggered events and hand off to
- Event Subscribers: base classes/code for objects that handle (listen to) events
- Event Listeners: basic event listening
- Projections: event listeners which update read models (projections); will contain code to support this function eventually
- Sagas: event listeners which handle business processes as state machines; will contain code to support creation of sagas