laravel/horizon

Queues and background processing

Gives Redis queues a dashboard and moves queue worker configuration into one version-controlled file, config/horizon.php.

The problem it solves

Plain queue workers are configured per process and give little visibility into throughput, runtime or failures.

Install

composer require laravel/horizon

Example

From the Laravel docs: define worker processes per environment in config/horizon.php.

'environments' => [
    'production' => [
        'supervisor-1' => [
            'maxProcesses' => 10,
            'balanceMaxShift' => 1,
            'balanceCooldown' => 3,
        ],
    ],
    'local' => [
        'supervisor-1' => [
            'maxProcesses' => 3,
        ],
    ],
],

// php artisan horizon:install
// php artisan horizon            (run)
// php artisan horizon:terminate  (graceful stop, e.g. on deploy)

Requirements and activity

Fetched from Packagist and GitHub on 2026-11-29. Constraints show what the package allows, not what its maintainers tested.

Latest stablev5.52.0 (2026-11-16)
PHP^8.2
Laravel^12.0|^13.0
LicenseMIT
Downloads (Packagist, total)127,655,696
GitHub stars4,182
Last push2026-11-17
StatusNot marked abandoned

Strengths

  • Shows job throughput, runtime and failures on a dashboard.
  • Worker scaling lives in a committed config file.

Limits to know

  • Requires Redis for the queue connection; the docs state it is not compatible with Redis Cluster.
  • The dashboard is only open in the local environment until you define the viewHorizon gate, which is the cause of the 403 in the related question.
  • Horizon reserves a Redis connection named horizon.

Related questions

Official links

Documentation · Packagist · GitHub

Write-up based on: laravel.com/docs/12.x/horizon. Written from the official README and docs; not tested by Laravel Questions. All packages.

Our network