Introduction

THIS PACKAGE HAS BEEN SUPERCEDED BY SPATIE/LARAVEL-EVENT-SOURCING

Because the package now does more than providing projectors, we decided to change the name to laravel-event-sourcing.

To upgrade from v2 to v3 of laravel-event-projector take a look at these steps. Upgrading from v3 of laravel-event-projector to v1 of laravel-event-sourcing is easy. Take a look at the upgrade guide for laravel-event-sourcing.


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.

Are you visual learner? Then start by watching this video. It explains event sourcing in general and how you can use projectors, reactors and aggregates.

Event sourcing might be a good choice for your project if:

  • your app needs to make decisions based on the past
  • your app has auditing requirements: the reason why your app is in a certain state is equally as important as the state itself
  • you foresee that there will be a reporting need in the future, but you don’t know yet which data you need to collect for those reports

We have badges!

Latest Version Software License Build Status Quality Score Total Downloads