unixslayer / event-sourcing

Basic implementation of Event Sourcing.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unixslayer/event-sourcing

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.

About

Basic implementation of Event Sourcing.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:PHP 100.0%