roman-1983/messenger-worker-registry
A Laravel package that provides a registry for messenger workers, making it easy to register, discover, and manage worker definitions in your application. Ideal for organizing background message consumers and keeping worker configuration consistent.
Consider it when:
messenger:consume processes and have no per-worker visibility today.WorkerRunningEvent/SIGTERM, expose liveness) is the real deliverable.Look elsewhere when:
To executives: An MIT-licensed, near-zero-cost starting point for answering "which background workers are alive right now?" It is early-stage (2 stars, no dependents), so we should treat it as a timeboxed spike or reference design, not a load-bearing dependency. The upside is operational visibility into async processing — fewer silent failures, faster incident triage, better-informed scaling and restart decisions — at roughly a few engineering days of evaluation cost. The downside risk is bounded: worst case we copy the pattern into an in-house utility we control.
To engineering: It provides a registry of running Messenger consumers with minimal code and no heavy infrastructure. Expect to fork and harden it: heartbeat expiry, stale-entry cleanup, multi-host coordination, TTL semantics, and integration with existing monitoring. Note the stack caveat up front — this targets Symfony Messenger, so in a vanilla Laravel app it only applies via a standalone Symfony worker process or a custom bridge; Horizon is the native alternative. Recommended path: a 1–2 day evaluation against a ~200-line in-house equivalent and against existing tooling (APM, Horizon, Symfony tooling), run as a spike in a non-production worker, wrapped behind an internal WorkerRegistry interface so application code never depends on Symfony classes directly. Adopt only if it clearly saves effort and we accept ongoing ownership and compatibility work for future Symfony/Laravel upgrades.
How can I help you explore Laravel packages today?