Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Cqrs Types Laravel Package

lmc/cqrs-types

Lightweight CQRS type definitions for Laravel/PHP applications, offering command, query, and handler contracts that help separate write and read concerns. Keeps business actions explicit, consistent, and easy to organize across projects.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Architecture standardization: Supports decisions to adopt CQRS-style separation of commands, queries, handlers, and read/write models in a Laravel/PHP codebase. The package provides reusable types and value objects rather than a full framework, so it can reduce bespoke boilerplate for teams already committed to CQRS.
  • Build vs. buy for CQRS primitives: Gives product and engineering a low-cost option for command/query contracts and base implementations. It is most relevant when the alternative is building internal CQRS types from scratch, not when the alternative is a mature CQRS/event-sourcing platform.
  • Roadmap fit: Useful for modular monoliths, complex domain workflows, async command handling, reporting read models, and audit-friendly write paths—provided the team is deliberately introducing CQRS. It is not a fit for simple CRUD products or teams without CQRS experience.
  • Dependency risk assessment: With 1 star, 0 dependents, and a January 2024 release, this should be treated as a tactical dependency, not a strategic platform bet. Any adoption decision should include a fork/vendor contingency and an exit plan.
  • Use-case evaluation: Relevant for products with uneven read/write workloads, complex business rules, or multiple read projections. Less relevant where a conventional Laravel service/repository layer is sufficient.

When to Consider This Package

  • Consider it when: the team is already using or actively evaluating CQRS in PHP/Laravel, needs lightweight command/query types and value objects, and wants to avoid inventing primitives internally. It is also reasonable if the team is already in the LMC CQRS ecosystem or is willing to vendor/fork an MIT-licensed package.
  • Consider it as a pilot: use it in a bounded module or internal tool first, validate Laravel container/queue integration, and confirm the package’s base implementations match the team’s conventions before broader adoption.
  • Look elsewhere when: the product needs a complete CQRS/event-sourcing framework, enterprise support, active community maintenance, high-scale production guarantees, or strong ecosystem integration. The very low star count and zero dependents are adoption-risk signals.
  • Avoid it when: the team is not already practicing CQRS, the domain is simple CRUD, or the package would become a core dependency without internal ownership. In those cases, a thin in-house abstraction or a more established framework is safer.

How to Pitch It (Stakeholders)

  • Executive summary: lmc/cqrs-types is a small, MIT-licensed PHP package that provides CQRS types, value objects, and base implementation. It can help standardize command/query architecture and reduce boilerplate, but it is not a mature platform and carries low-adoption risk.
  • Engineering summary: Use it as a tactical accelerator for CQRS primitives if the team already understands command/query separation. Validate integration, expect to own the dependency, and keep a fork path available.
  • Recommendation: Pilot it in a non-critical module, measure developer velocity and maintenance overhead, and avoid making it a foundational dependency until its fit and long-term ownership are proven.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin