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.
You can install this via composer by running composer require unixslayer/event-sourcing
or adding it as requirement to your composer.json
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.
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.