EventSaucePHP
laravel-event-sourcing
Our great sponsors
EventSaucePHP | laravel-event-sourcing | |
---|---|---|
2 | 2 | |
785 | 720 | |
1.5% | 2.2% | |
6.3 | 8.0 | |
27 days ago | 29 days ago | |
PHP | PHP | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
EventSaucePHP
-
Event Sourcing: a one year retrospective
If you are interested in implementing this pattern, I found EventSauce to be a fantastic reference implementation, community and learning resource.
-
Ensuring data(base) consistency during concurrent requests
Agreed! Storing a balance this way as a source of truth without any proof as to how that number came about would not fly in any financial company. I'm personally a big fan of event sourcing (shameless plug: https://eventsauce.io), so I too like my append-only transaction logs :)
laravel-event-sourcing
- An event driven package that I forgot the name of
-
Is this a good usecase for event sourcing?
However, I'd argue that trade-off might not be worth it because of how much overhead event-sourcing requires. I've worked on some apps with event-sourcing myself, using the Spatie package, and it adds a ton of work to the normal programming flow.
What are some alternatives?
Broadway - Infrastructure and testing helpers for creating CQRS and event sourced applications.
laravel-time-series - ⏰📊✨Laravel Time Series - Provides an API to create and maintain data projections (statistics, aggregates, etc.) from your Eloquent models, and convert them to time series.
Prooph Event Store - PHP 7.4 EventStore Implementation
React - Event-driven, non-blocking I/O with PHP.
Amp - A non-blocking concurrency framework for PHP applications. 🐘
Hoa WebSocket - The Hoa\Websocket library.
PHP Defer - Golang's defer statement for PHP
Laravel - Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation for your next big idea — freeing you to create without sweating the small things.
Ratchet - Asynchronous WebSocket server
laravel-novalize - Generate Laravel Nova admin panels at light speed with GPT-4.