Weave Code
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

Horizon Laravel Package

laravel/horizon

Laravel Horizon adds a beautiful dashboard and code-driven configuration for Laravel Redis queues. Monitor throughput, runtime, and failures, manage workers and supervisors from a single config file, and keep queue operations visible and maintainable.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Scalable Background Processing: Justify adoption of Laravel queues (Redis/SQS) for high-throughput, asynchronous tasks (e.g., notifications, reporting, batch processing) by providing a managed dashboard to monitor performance, failures, and bottlenecks.
  • Observability Roadmap: Prioritize real-time monitoring for queue health (throughput, failures, runtime) to reduce MTTR for production incidents. Horizon’s UI replaces ad-hoc logging with actionable insights.
  • Build vs. Buy: Avoid reinventing queue monitoring (e.g., custom Grafana dashboards, third-party tools like Sentry) by leveraging Laravel’s native integration with minimal dev overhead.
  • Use Cases:
    • E-commerce: Process orders, inventory updates, and fraud checks asynchronously.
    • SaaS: Handle webhooks, analytics pipelines, and user-generated content (e.g., image processing).
    • Legacy Systems: Modernize monolithic apps with decoupled background jobs.

When to Consider This Package

Adopt Horizon if:

  • Your app uses Laravel queues (Redis/SQS) and needs visibility into job execution (e.g., failures, delays, throughput).
  • You lack dedicated DevOps tools for queue monitoring (e.g., no Prometheus/Grafana set up).
  • Your team prefers code-driven configuration (e.g., defining supervisors, batching, retries in horizon.php) over UI-only tools.
  • You require batch job tracking (e.g., grouping related jobs like order fulfillment steps).

Look elsewhere if:

  • You’re using database queues (Horizon is Redis/SQS-only).
  • Your queue volume is low (<100 jobs/hour) and monitoring isn’t critical.
  • You need advanced distributed tracing (consider Laravel Scout + third-party tools like Datadog).
  • Your stack is non-Laravel (e.g., Node.js, Python).

How to Pitch It (Stakeholders)

For Executives: "Horizon turns Laravel’s queue system into a self-healing, observable workflow engine. It replaces fire-drill debugging with a real-time dashboard showing job failures, delays, and throughput—reducing downtime and improving scalability for [use case: e.g., Black Friday traffic]. The cost? Zero: it’s open-source and integrates natively with our existing Laravel stack."

For Engineering: *"Horizon gives us three key advantages:

  1. Visibility: Track job failures, runtime, and retries via a pre-built UI (no Grafana setup).
  2. Control: Configure supervisors (workers), batching, and retries in horizon.phpversion-controlled.
  3. Scalability: Supports Redis Clusters and high concurrency (e.g., 100+ workers) out of the box. Tradeoff: Tightly coupled to Laravel, but the payoff is weeks saved vs. building this from scratch."*

For DevOps: *"Horizon’s supervisor management lets us:

  • Dynamically scale workers (e.g., supervisor:flush --timeout=5) without downtime.
  • Monitor memory usage per job type to optimize hardware costs.
  • Automate retries with backoff logic (configurable in code). Bonus: The dashboard surfaces Redis bottlenecks (e.g., blocked connections) before they cascade."*
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.
codraw/framework-extra-bundle
codraw/messenger
codraw/security
codraw/mailer
codraw/contracts
codraw/profiling
codraw/dependency-injection
codraw/tester
codraw/core
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony