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

Service Bus Lite Bundle Laravel Package

psamatt/service-bus-lite-bundle

Symfony bundle that wires the service-bus-lite library into your app, giving you a simple command and query bus with middleware support. Register handlers via tags, dispatch messages from controllers or services, and keep business logic decoupled from framework plumbing.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Architecture pattern evaluation: Informs whether to introduce a command/service bus abstraction to decouple controllers, domain logic, and side effects (email, payments, third-party calls) in a Symfony application.
  • Build vs. buy vs. adopt: Provides a data point for the "reuse an existing thin library" option versus building an in-house dispatcher or adopting a first-party framework component.
  • Roadmap sequencing for event-driven work: Helps decide whether command-bus adoption is a near-term refactor or a later-phase item gated on a maintained messaging foundation.
  • CQRS-lite / command-query separation pilots: Supports scoping a low-cost spike where handlers are registered and dispatched centrally before committing to heavier tooling (queues, workers, retries).
  • Vendor and dependency risk assessment: The adoption signals here (4 stars, 0 dependents, low score) directly inform a dependency-approval or "do not adopt" decision in a technology radar review.
  • Framework fit check: This package is a Symfony bundle, not a Laravel package. For a Laravel codebase this is a non-starter — the decision becomes "use Laravel's native bus/job dispatching" rather than "evaluate this bundle."

When to Consider This Package

Consider it only in narrow, low-stakes situations:

  • You are on an older Symfony version predating Symfony Messenger and need a minimal command-bus wrapper today.
  • You want to read a small, self-contained implementation to understand how a service bus is wired into a Symfony container — as a reference/learning artifact, not a runtime dependency.
  • You are prototyping something throwaway and the cost of swapping it out later is genuinely near zero.

Look elsewhere in essentially every production scenario:

  • Maintenance risk: 4 stars and 0 dependents indicate no meaningful community, no downstream validation, and no evidence of active upkeep. No dependents means no one has battle-tested it against real version upgrades.
  • First-party alternatives supersede it: Symfony Messenger ships in the framework, is maintained by the core team, and covers handlers, middleware, transports, retries, and failure handling. Adopting a third-party micro-bundle instead is a strict downgrade in support and longevity.
  • Established community options exist: League Tactician and similar libraries have real adoption, documentation, and middleware ecosystems.
  • Framework mismatch: If your stack is Laravel, this bundle is architecturally incompatible; Laravel's container, queue, and job dispatch already provide the equivalent capability.
  • No migration or exit story: With no dependents and minimal activity, you cannot rely on community guidance for upgrades or security patches.

How to Pitch It (Stakeholders)

To executives: This is a small, narrow utility that adds a command-bus pattern to Symfony applications. It is not a strategic dependency. Adoption signals are effectively zero — a handful of stars, no downstream projects, no visible maintenance — which means we would own all the risk with none of the community support. Recommendation: do not build roadmap commitments on it. If we want this capability, we get it for free from Symfony's own Messenger component, which is maintained by the framework's core team and carries no added vendor risk. Net effect: same architectural benefit, materially lower long-term cost and risk.

To engineering: The package is a thin convenience wrapper, so the surface area is small and the concepts are standard — handlers registered in the container, dispatched through a central bus. That is also its weakness: everything it does, Symfony Messenger does with first-party support, active maintenance, transports, middleware, and retries. There is no dependents base, so we would be the only ones hitting upgrade friction. Use it as a reading reference if the team wants to understand bus wiring; do not add it to composer.json for anything with a production horizon. If the goal is a lightweight in-house bus, that is roughly a day of work and gives us full control.

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/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
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route