spatie/laravel-event-sourcing
Event sourcing toolkit for Laravel: build aggregates, projectors, and reactors to store state changes as events. Ideal for audit trails, decisions based on history, and future reporting needs. Includes docs, examples, and an optional course.
This package aims to be the entry point to get started with event sourcing in Laravel. It can help you setting up aggregates, projectors and reactors.
If you've never worked with event sourcing, or are uncertain about what projectors, reactors and aggregates are, head over to the getting familiar with event sourcing section.
Event sourcing might be a good choice for your project if:
Some concepts in the package, for example the testing methods of aggregates, were inspired by Frank De Jonge's EventSauce package.
Our premium course on event sourcing will greatly help you understand event sourcing concepts.
In this course, we'll walk you through all the basics, and work our way towards the most complex topics. Though the knowledge presented is framework agnostic, the examples embrace Laravel.
The course includes:
How can I help you explore Laravel packages today?