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 Laravel Package

artisansdk/cqrs

ArtisanSDK CQRS provides command and query buses for Laravel, routing commands and queries to handlers via the container. It supports middleware and clean separation of write/read concerns, helping build maintainable, testable applications.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Architecture investment: Whether to introduce CQRS as a first-class pattern in a Laravel application instead of relying on ad hoc service classes or generic events.
  • Build vs. buy: Whether to standardize command/query buses, handlers, and middleware on a small MIT-licensed package or fund internal plumbing. This package reduces bespoke glue but remains a foundational dependency rather than a full platform.
  • Roadmap sequencing: Where to pilot CQRS first — typically a bounded context with complex workflows, approval chains, billing, onboarding, inventory, or claims processing — before expanding to simpler CRUD areas.
  • Feature decisions: Enabling explicit business intents as commands supports auditability, workflow traceability, and clearer separation between write-side behavior and read-side reporting.
  • Team topology and ownership: Command/query handlers create natural ownership boundaries for modular monoliths and domain-oriented teams.
  • Read-model and reporting strategy: Supports decisions about when separate query paths or projections are justified by reporting, dashboards, or performance needs.
  • Compliance and audit use cases: Commands can serve as an explicit record of user/system intent, which is useful for regulated workflows — provided the team adds persistence and audit logging around the package.

When to Consider This Package

Consider it when:

  • The product is built on Laravel/PHP and the team expects to stay there.
  • The domain has non-trivial write workflows where explicit commands, handlers, and middleware improve clarity.
  • You need a lightweight CQRS foundation — command bus, query bus, handler dispatch — without adopting full event sourcing.
  • You want auditability of business intent and clearer separation between writes and reads.
  • The team understands CQRS trade-offs and is willing to own a small dependency with a narrow surface area.
  • A pilot in one bounded context can validate fit before broader adoption.

Look elsewhere when:

  • The application is mostly simple CRUD; CQRS would add ceremony without product value.
  • You need full event sourcing, sagas, process managers, distributed messaging, or built-in projections.
  • You require a large community, commercial support, or a mature ecosystem — 84 GitHub stars indicates a niche package.
  • The team lacks CQRS experience and cannot absorb the learning curve.
  • You are not on Laravel, or you need framework-agnostic architecture.
  • You expect the package to provide read-model synchronization, persistence, or operational tooling out of the box; this is foundational, not a complete CQRS platform.

How to Pitch It (Stakeholders)

For executives: This is a low-cost, MIT-licensed Laravel package that standardizes how complex business actions are modeled and dispatched. It can improve maintainability and auditability in workflow-heavy parts of the product, but it is not a silver bullet and carries small-community dependency risk. Recommend a time-boxed pilot in one complex domain area, with clear success criteria and an exit plan.

For engineering: artisansdk/cqrs provides a Laravel-compatible foundation for command/query separation — command and query buses, handlers, and middleware — without forcing event sourcing. It can replace bespoke dispatch glue and make business intent explicit. The trade-offs are CQRS discipline, handler proliferation, and reliance on a small package (84 stars, recent April 2026 release). Adopt only with a proof-of-concept, coding standards, and a fallback plan; do not treat it as a complete CQRS or event-sourcing platform.

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.
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log