PHPackages                             daison/laravel-horizon-cluster - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Queues &amp; Workers](/categories/queues)
4. /
5. daison/laravel-horizon-cluster

ActiveLibrary[Queues &amp; Workers](/categories/queues)

daison/laravel-horizon-cluster
==============================

A modified laravel/horizon with cluster support

0.4.0(6mo ago)1682.9k—9.1%9MITPHP

Since Oct 11Pushed 6mo ago2 watchersCompare

[ Source](https://github.com/daison12006013/laravel-horizon-cluster)[ Packagist](https://packagist.org/packages/daison/laravel-horizon-cluster)[ RSS](/packages/daison-laravel-horizon-cluster/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (3)Versions (6)Used By (0)

[![Packagist Downloads](https://camo.githubusercontent.com/37205a08ce652d1de34a7c4aaa38350d2c70ac7e1403e98a4a6e8efdb1602372/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f646169736f6e2f6c61726176656c2d686f72697a6f6e2d636c7573746572)](https://packagist.org/packages/daison/laravel-horizon-cluster/stats)

[![seeking's laravel horizon](sa_prod_screenshot.png)](sa_prod_screenshot.png)

Laravel Horizon - Cluster Support
=================================

[](#laravel-horizon---cluster-support)

This package extends Laravel Horizon with support for a Redis cluster. Based on my testing, it should also be compatible with AWS Elastic Load Balancer.

Installation
------------

[](#installation)

```
composer require daison/laravel-horizon-cluster
```

After installing this package, now publish the assets using `horizon:install`

```
php artisan horizon:install
```

### Remove the auto discover

[](#remove-the-auto-discover)

Modify your original laravel's `composer.json` and add this

```
{
    "extra": {
        "laravel": {
            "dont-discover": [
                "laravel/horizon"
            ]
        }
    }
}
```

### Use the modified horizon

[](#use-the-modified-horizon)

Modify your `config/app.php`

```
return [
    'providers' => [
        // ...

        Daison\LaravelHorizonCluster\AppServiceProvider::class,
        App\Providers\HorizonServiceProvider::class,
    ],
];
```

config/database.php
-------------------

[](#configdatabasephp)

Usually your laravel `config/database.php` should look like this.

```
return [
    'redis' => [
        'client' => 'predis',

        'clusters' => [
            'default' => [
                [
                    'host'     => env('REDIS_HOST', '127.0.0.1'),
                    'port'     => env('REDIS_PORT', '6379'),
                    'password' => env('REDIS_PASSWORD', null),
                    'database' => 0,
                ],
            ],
            // ...
        ],

        'options' => [
            'cluster' => 'redis',
        ],
    ],
];
```

config/horizon.php
------------------

[](#confighorizonphp)

Make sure your horizon will have this kind of config or similar.

```
return [
    'use' => 'clusters.default',

    // ...

    'defaults' => [
        'worker' => [
            'connection' => 'redis',
            'balance'    => env('HORIZON_QUEUE_WORKER_BALANCE', false),
            'timeout'    => env('HORIZON_QUEUE_WORKER_TIMEOUT', 10),
            'sleep'      => env('HORIZON_QUEUE_WORKER_SLEEP', 3),
            'maxTries'   => env('HORIZON_QUEUE_WORKER_MAXTRIES', 3),
        ],
    ],

    'environments' => [
        env('APP_ENV') => [
            'worker' => [
                'connection' => 'redis',
                'queue'      => [
                    '{redis-high}',
                    '{redis}',
                    '{redis-low}',
                ],
                'memory'       => env('HORIZON_QUEUE_WORKER_MEMORY', 128),
                'minProcesses' => env('HORIZON_QUEUE_WORKER_MIN_PROCESSES', 1),
                'maxProcesses' => env('HORIZON_QUEUE_WORKER_MAX_PROCESSES', 3),
            ],
        ],
    ],
];
```

config/queue.php
----------------

[](#configqueuephp)

Make sure your `'redis'` is wrapped with curly brace

```
// ...

'redis-low' => [
    // ...
    'queue' => env('REDIS_QUEUE', '{redis-low}'),
    // ...
],

'redis' => [
    // ...
    'queue' => env('REDIS_QUEUE', '{redis}'),
    // ...
],

'redis-high' => [
    // ...
    'queue' => env('REDIS_QUEUE', '{redis-high}'),
    // ...
],

```

Enjoy using Laravel Horizon with Cluster support!

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance66

Regular maintenance activity

Popularity41

Moderate usage in the ecosystem

Community17

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 Bus Factor1

Top contributor holds 68.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~250 days

Total

4

Last Release

199d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ef7a534e3d6099a4116f0d95cfc34a15062ea39b25dde37530ef90b5944868b9?d=identicon)[daison12006013](/maintainers/daison12006013)

---

Top Contributors

[![daison12006013](https://avatars.githubusercontent.com/u/4581415?v=4)](https://github.com/daison12006013 "daison12006013 (11 commits)")[![anabeto93](https://avatars.githubusercontent.com/u/7607657?v=4)](https://github.com/anabeto93 "anabeto93 (2 commits)")[![angu1ss](https://avatars.githubusercontent.com/u/27593856?v=4)](https://github.com/angu1ss "angu1ss (1 commits)")[![aromka](https://avatars.githubusercontent.com/u/2651029?v=4)](https://github.com/aromka "aromka (1 commits)")[![glushkovds](https://avatars.githubusercontent.com/u/35626465?v=4)](https://github.com/glushkovds "glushkovds (1 commits)")

### Embed Badge

![Health badge](/badges/daison-laravel-horizon-cluster/health.svg)

```
[![Health](https://phpackages.com/badges/daison-laravel-horizon-cluster/health.svg)](https://phpackages.com/packages/daison-laravel-horizon-cluster)
```

###  Alternatives

[stancl/jobpipeline

Turn any series of jobs into Laravel listeners.

1226.6M10](/packages/stancl-jobpipeline)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

3786.5k](/packages/harris21-laravel-fuse)[palpalani/laravel-sqs-queue-json-reader

Custom SQS queue reader for Laravel

26109.8k](/packages/palpalani-laravel-sqs-queue-json-reader)[carsguide/lumen-horizon

Commands and code-driven configuration for Lumen queues.

1050.6k](/packages/carsguide-lumen-horizon)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
