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

Busque Laravel Package

mgdigital/busque

Busque is a lightweight command bus for Laravel that maps commands to dedicated handlers, keeping controllers and services thin. It supports middleware pipelines and queued command execution, making it easy to organize complex application logic with a clean, testable CQRS-style approach.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for background work. Busque is a thin, dependency-light command queue plus scheduler over Redis. For a product that needs deferred jobs (emails, webhooks, PDF/report generation, third-party syncs) or recurring tasks (nightly cleanup, subscription renewals, digest sends), it is a candidate to avoid writing a scheduler and worker loop from scratch — roughly a few weeks of engineering you don't have to spend.
  • Roadmap sequencing for latency-sensitive features. If a planned feature would block a request thread (image processing, exports, large imports), this is a concrete enabler for moving that work off the request path — useful when arguing for a "performance/scale" line item.
  • Scope control. The command-oriented API is a forcing function toward small, serializable units of work, which keeps async surface area small. That supports a decision to ship simple async now and defer a full queue platform until volume justifies it.
  • Sunset and migration planning. The package is archived and targets PHP 7. That makes "replace or formally fork the queue layer" a real roadmap item, not a hypothetical. Any product still on it should have a named owner and an exit criterion (PHP 8 upgrade, or scaling past a single Redis instance).
  • Use cases it fits: low-to-moderate throughput job processing, cron-replacement scheduling, retryable integration calls, batch notifications. Use cases it does not fit: anything needing a job dashboard, dead-letter queues, per-tenant isolation, or auditable delivery guarantees.

When to Consider This Package

Consider it when:

  • The codebase is genuinely PHP 7 and will remain so for the planning horizon.
  • Redis is already operated in production — no new infrastructure to justify.
  • The need is a scheduler plus worker for modest volume, not a queueing platform.
  • The team is comfortable owning vendored code: reading it, patching it, and forking it if needed.
  • License and footprint matter — MIT, small surface, no vendor lock-in.

Look elsewhere when:

  • You are on PHP 8+ or plan to be. Archived, PHP 7-only code is a hard stop for a new greenfield build.
  • You need active maintenance, security patching, or a support path. Archived means no upstream fixes; every bug is yours.
  • You need observability, retry/backoff policies, dead-letter handling, rate limiting, or an operator UI. Laravel's native queue plus Horizon, or a managed queue, covers this out of the box.
  • Your team is already on Laravel and would otherwise use the framework's queue and scheduler — introducing a parallel abstraction adds cognitive overhead for no gain.
  • Reliability expectations are high (payments, compliance-relevant side effects) and you cannot absorb the maintenance burden.

The honest framing: this is a borrow-and-own component, not an adoption. That is a legitimate choice for an internal tool or a cost-sensitive service, and a poor one for a system on a multi-year support commitment.

How to Pitch It (Stakeholders)

To executives: This is a small, MIT-licensed Redis queue and scheduler for PHP. It could save several weeks of engineering versus building background job handling ourselves, and it carries no licensing cost. The catch is that the project is archived and only supports PHP 7, so it is not a long-term bet — we would own the code permanently and eventually replace it. Recommendation: approve a short time-boxed spike, not a platform commitment, and treat migration as a known future cost rather than a surprise.

To engineering: Low dependency surface, command-per-job design, scheduler included — it does the boring part of a worker loop competently. But you inherit maintenance: no upstream patches, PHP 7 constraint, and you'll need to add your own retry, monitoring, and dead-letter handling. If we proceed, we vendor or fork it deliberately, document the fork point, and define the trigger for replacing it with the framework's native queue.

Decision asked for: a bounded evaluation (one spike, one service, no customer-facing critical path) rather than a standard-adoption decision.

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.
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
gregsphotography/site-builder-components
io-digital/clickatell
snowsoft/laravel-admin
oxygen/auth
relicsoftware/barakah-payment-gateway
tobya/work-with-composer
equipc/laravel-email-validator