phauthentic/event-sourcing

An event sourcing library for PHP. Framework agnostic, simple, SOLID and easy to use.

1.0.0-beta2 2024-07-12 20:24 UTC

This package is auto-updated.

Last update: 2024-10-20 09:37:17 UTC


README

A framework-agnostic event sourcing system.

The library tries to be as unopinionated as possible, it provides the basic building blocks to implement event sourcing in your application. The library will allow you to keep 3rd party dependencies to a minimum and will not force you to use a specific framework or library. Your aggregates can be free of third party dependencies if you want to go for that style.

It features different ways of extracting information from your aggregates, pick your flavor: Via Attributes (recommended), Interfaces or Reflection. Using a reflection based extractor will allow you to keep your aggregates free of any dependency to this library.

Installation

composer require phauthentic/event-sourcing

Documentation

License

Copyright Florian Krämer

Licensed under the MIT license.