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

Query Bus Bundle Laravel Package

gnugat/query-bus-bundle

Symfony bundle that integrates gnugat/query-bus, making it easy to register query handlers and dispatch queries through the container. It wires the query bus into Symfony services for cleaner CQRS-style read models.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Architecture choice for read paths: Supports a CQRS-lite/query-bus approach in Laravel, separating read/query handling from controllers and write-side domain logic.
  • Build vs. buy: v1.0.0 with a Laravel container tag and query matcher service reduces custom wiring; adoption is reasonable when the team would otherwise build a small internal query dispatcher.
  • Feature delivery: Useful for dashboard, search, reporting, admin, and read-model features where many query handlers need consistent dispatch and resolution.
  • Modular monolith roadmap: Enables incremental modularization without committing to full CQRS, event sourcing, or async messaging.
  • Standardization: A tagged query bus and matcher service can make handler registration and query-to-handler mapping more explicit and consistent across teams.
  • Risk decision: v1.0.0 signals API stability intent, but the small release surface means PM should treat it as a focused utility, not a platform-level commitment.

When to Consider This Package

  • Consider it when building a Laravel/PHP application that needs a lightweight query bus for read operations.
  • Good fit when the team wants container-integrated query dispatch and handler matching via Laravel service tags rather than hand-rolled registries.
  • Good fit for incremental CQRS adoption, modular monoliths, or read-heavy features such as reporting, search, and dashboards.
  • Consider it when the alternative is a small custom internal package; this can reduce glue code and standardize conventions.
  • Look elsewhere if the product needs full CQRS/event sourcing, asynchronous query execution, complex middleware pipelines, multi-database orchestration, or non-Laravel runtime support.
  • Look elsewhere if the team cannot accept a small/early package dependency or needs a large maintainer ecosystem, long-term commercial support, or extensive observability features out of the box.
  • Validate before adoption: handler discovery behavior, error handling, middleware/extensibility, testability, Laravel version support, and maintenance activity.

How to Pitch It (Stakeholders)

  • Executive summary: This package gives Laravel teams a small, stable v1.0 utility for organizing read/query logic. It can reduce custom plumbing, improve consistency, and support incremental modernization without a large platform bet.
  • Engineering summary: v1.0.0 adds a gnugat_query_bus.query_bus tag and gnugat_query_bus.query_matcher service, indicating Laravel container-based query bus registration and query-to-handler matching. It is best treated as a focused query-dispatch package, not a full CQRS framework.
  • Product framing: Adopt for bounded use cases where query handling is becoming repetitive or inconsistent. Avoid positioning it as a strategic platform dependency until integration, maintenance, and extensibility are validated in a pilot.
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.
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core