Overview:
Horizon is a dashboard that provides configuration settings for Redis queues in Laravel, making it easy to monitor queue metrics like job throughput and failures. It simplifies worker configuration by storing it in a single file that can be managed in source control for team collaboration.
Features:
- Dashboard: Provides a visually appealing dashboard for monitoring queue metrics.
- Configuration File: Stores worker configuration in a single, source-controllable file.
- Metrics Monitoring: Allows tracking of key metrics like job throughput, runtime, and failures.
Installation:
To install Horizon, follow these steps:
- Require the package via Composer:
composer require laravel/horizon
- Publish the Horizon assets:
php artisan vendor:publish --provider="Laravel\Horizon\HorizonServiceProvider"
- Migrate the Horizon tables:
php artisan horizon:migrate
- Start the Horizon dashboard:
php artisan horizon
## Summary:
Horizon in Laravel offers a user-friendly dashboard for monitoring and configuring Redis queues. Its key features include a visually appealing dashboard, simplified worker configuration stored in a single file, and monitoring important queue metrics. Installation involves requiring the package via Composer, publishing assets, migrating tables, and starting the Horizon dashboard.