digitalrisks/laravel-eventstore
A Laravel event store for event sourcing: persist domain events, rebuild aggregates from stored streams, and keep an auditable history of every change. Integrates with Laravel's database and service container.
ConnectionLostException change is small in code but meaningful in product terms — it lets us distinguish transient infrastructure failures from genuine domain/business errors. That directly enables decisions like "should a dropped DB connection during event append retry automatically, alert on-call, or surface to the user?" and it makes retry/backoff logic around event persistence safe to implement.Adopt when:
Look elsewhere when:
On v8.4.1 specifically: no breaking API change, no new features — this is a robustness patch. It does not change the adoption calculus, but it is a positive signal that the maintainers are tightening error semantics.
To executives: This package gives us a durable, append-only history of everything that happens in our domain, so we can answer "what did this record look like last month and why" without bespoke audit plumbing. That's a compliance and customer-support accelerator, and it lets us add new reporting views by replaying history instead of migrating data. The cost is architectural: it commits the relevant part of the product to an event-driven model, so it should be scoped to the contexts where auditability and history are real requirements — not applied everywhere.
To engineering: v8.4.1 tightens failure semantics — connection loss during an event append now raises ConnectionLostException rather than a bare Exception. Practical consequence: we can write targeted retry/backoff around store writes and alert specifically on infrastructure loss, instead of catching everything and guessing. Before adoption, confirm Laravel/PHP version support and review the project's maintenance activity, since this release line is not recent. Treat it as a solid fit for event-sourced bounded contexts in a Laravel monolith, and a poor fit for simple CRUD audit logging or high-throughput streaming.
How can I help you explore Laravel packages today?