somnambulist/read-models-bundle
A Laravel package for building CQRS-style read models and projections, offering base classes and Eloquent-backed query models to create denormalized, read-optimized views from domain events and write-side data.
somnambulist/read-models. The honest comparison is "vendor the abstractions and wire them ourselves" versus "adopt this," and the build side is small. It should never be compared against a heavyweight CQRS platform.Consider it only when all of the following hold:
somnambulist/read-models (or an equivalent abstraction) as your read-side contract.Look elsewhere when:
Executives: This is a small, unproven Symfony integration package supporting a specific architectural pattern — separating read models from write models for query performance. It is not a platform, not a Laravel component, and not something to standardize on. Near-zero adoption means no ecosystem safety net, so the downside is not licensing cost but maintenance ownership. Recommendation: treat it as a reference implementation only; if we pursue the pattern, the glue is cheap to replicate in-house.
Engineering: The bundle is thin dependency-injection glue over somnambulist/read-models. Read the source rather than adopting it as a dependency. If the pattern fits our domain, vendor the abstractions and wire them ourselves so we control upgrades and Symfony version compatibility. The real decision is the architecture — CQRS and projection-based reads — and this package should not be allowed to drive it.
How can I help you explore Laravel packages today?