Category : event-sourcing

We currently creating a project which have users with hierarchy that can change. We are using https://github.com/lazychaser/laravel-nestedset for user hierarchy and https://github.com/spatie/laravel-event-sourcing for other models event sourcing. We need ability to retrieve hierarchy from past. Can we get hierarchy (nested set) past instance with laravel-event-sourcing using event queries? (https://spatie.be/docs/laravel-event-sourcing/v5/advanced-usage/event-queries) We need get instance of user ..

Read more

I have a project that implements an event source using https://github.com/spatie/laravel-event-sourcing. And now I want to use MongoDB to store the event store, using https://github.com/jenssegers/laravel-mongodb. But I get stuck to implement both. Both packages required to extends their own class. This is my custom model for the event source. <?php namespace AppModelsMongoDB; use SpatieEventSourcingStoredEventsModelsEloquentStoredEvent; use ..

Read more