unixslayer/event-sourcing

Event Sourcing implementation using prooph/event-store

0.3.0 2021-08-05 07:14 UTC

This package is auto-updated.

Last update: 2024-11-05 16:20:27 UTC


README

Tests Status Analyse Status Coverage Status GitHub release (latest by date) GitHub

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.