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.
The default repository responsible for storing events is \Spatie\EventSourcing\StoredEvents\Repositories\EloquentStoredEventRepository. If you want to use a different storage method, implement the \Spatie\EventSourcing\StoredEvents\Repositories\StoredEventRepository repository and add your custom functionality.
How can I help you explore Laravel packages today?