Laravel Horizon: Monitor Your Queues

Set up Laravel Horizon to monitor and configure your queue workers.

1 min readLaravelاقرأ بالعربية

Monitor queues with Horizon:

Installation

composer require laravel/horizon
php artisan horizon:install

Configuration

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

Start Horizon

php artisan horizon

Dashboard

Access at /horizon to see:

- Failed jobs
- Job throughput
- Recent jobs
- Queue metrics
All articles

Keep reading