unixslayer / event-sourcing
Event Sourcing implementation using prooph/event-store
Installs: 6 536
Dependents: 1
Suggesters: 0
Security: 0
Stars: 2
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: ^7.4|^8.0
- ramsey/uuid: ^4.0
Requires (Dev)
- ext-pdo: *
- friendsofphp/php-cs-fixer: ^3.0
- moneyphp/money: ^3.3
- phpunit/phpunit: 9.5.x-dev
- roave/security-advisories: dev-master
- vimeo/psalm: 4.x-dev
This package is auto-updated.
Last update: 2024-11-05 16:20:27 UTC
README
Basic implementation of Event Sourcing due to fact that prooph/event-sourcing is abandoned. If you are looking for Aggregate repository, check out unixslayer/event-store.
Installation
You can install this via composer by running composer require unixslayer/event-sourcing
or adding it as requirement to your composer.json
Usage
This library comes with basic implementation of Event Sourcing which is only two classes:
- aggregate root
- aggregate event
This repository is inspired from Prooph solution with assimption of being independent from any framework. If you are familiar with prooph/event-sourcing, you'll know what to expect. Otherwise, check out Prooph's repository or tests.
Support
I strongly recommend for implementing Event Sourcing by your own. You can accomplish that in a way described here and here or here. If for some reason you find this library useful and use it, feel free to file an issue. Also, PR will be awesome.