revision-ten/cqrs
A lightweight CQRS package for Laravel that separates writes from reads using commands, queries, handlers, and buses. It helps organize business logic into clear, testable actions with simple Laravel-friendly integration.
Consider it when:
Look elsewhere when:
For executives: This is a small open-source library that would let us record every business action as a first-class event, which turns audit history, activity feeds, and integration hooks from bespoke projects into reusable plumbing. The strategic appeal is speed on a class of enterprise features we keep getting asked for. The risk is maturity: near-zero adoption, no dependents, one maintainer. Recommendation is a time-boxed spike (1–2 weeks), not a production commitment — validate that it does what its name implies, and keep the option to fork it or fall back to Laravel's native events. Low cost to explore, real cost to standardize on.
For engineering: MIT-licensed, small surface, Laravel-idiomatic command/query dispatch and domain events. We'd own the code the moment we adopt it, so budget for reading and forking rather than waiting on upstream. Compare against hand-rolling a bus (a few days) and against Spatie's event-sourcing package (heavier, better supported). If the spike shows the write model and event dispatch are sound, it collapses a chunk of future integration work; if it doesn't, we lose two weeks and gain a documented architecture decision we can reuse.
How can I help you explore Laravel packages today?