laravel-event-sourcing
EventSaucePHP
laravel-event-sourcing | EventSaucePHP | |
---|---|---|
2 | 2 | |
720 | 785 | |
1.3% | 1.0% | |
7.9 | 6.3 | |
about 1 month ago | about 1 month 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.
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.
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 :)
What are some alternatives?
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
Broadway - Infrastructure and testing helpers for creating CQRS and event sourced applications.
Amp - A non-blocking concurrency framework for PHP applications. 🐘
React - Event-driven, non-blocking I/O with PHP.
Hoa WebSocket - The Hoa\Websocket library.
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.
PHP Defer - Golang's defer statement for PHP
laravel-novalize - Generate Laravel Nova admin panels at light speed with GPT-4.
Ratchet - Asynchronous WebSocket server