configuring-horizon

Automate Horizon installation, configuration, and remediation for Laravel queues.

483|116|Updated Jan 17, 2026
One-click install
npx skills add https://github.com/trypostit/trypost --skill configuring-horizon-trypostit
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: configuring-horizon
Source: https://github.com/trypostit/trypost/tree/main/.claude/skills/configuring-horizon
Command: npx skills add https://github.com/trypostit/trypost --skill configuring-horizon-trypostit

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Configuring Horizon in Laravel projects can be error-prone and time-consuming; this skill provides a guided approach to installing Horizon, setting up Sail, configuring config/horizon.php, securing the dashboard, scheduling metrics, and troubleshooting production issues.

Core Features & Use Cases

  • Install Horizon and Sail integration
  • Configure supervisors, queues, balancing, and environment overrides
  • Secure dashboard access via Gate::define and troubleshoot metrics and snapshot scheduling
  • Tag, silence noisy jobs, and manage notifications
  • Use case: production deployment with Redis, multiple queues, and auto-scaling
  • Integrates with monitoring and troubleshooting workflows for worker crashes and timeouts

Quick Start

Install Horizon with horizon:install, initialize Sail for your Laravel project, and configure a basic supervisor and queue setup.

Frequently Asked Questions about configuring-horizon

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install and configure Laravel Horizon for queue management?

To configure Laravel Horizon, run horizon:install, initialize Sail, and set up config/horizon.php with supervisors and queues. This guided workflow ensures correct installation, supervisor configuration, and environment overrides for production deployment.

How do I secure the Horizon dashboard in a production environment?

Secure the Horizon dashboard by defining Gate::define in your application's AuthServiceProvider. This restricts dashboard access to authorized users only, preventing unauthorized visibility into queue metrics and job statuses.

Why is my Laravel Horizon queue showing worker crashes and timeouts?

Worker crashes and timeouts in Laravel Horizon often stem from misconfigured supervisors or environment overrides. Consult the documented troubleshooting references to diagnose production issues, adjust supervisor settings, and resolve worker stability problems.

How do I schedule Horizon metrics and snapshots automatically?

Schedule Horizon metrics snapshots by configuring horizon:snapshot in your application's task scheduler. This automates metrics collection, ensuring your dashboard displays accurate historical queue performance data across environments.

Can I use Laravel Horizon with Redis and multiple queues for auto-scaling?

Yes, Laravel Horizon supports production deployment with Redis, multiple queues, and auto-scaling. Configure supervisors and queue balancing within config/horizon.php to manage distributed workloads and dynamically scale workers.

How do I tag and silence noisy jobs in Laravel Horizon?

Tag and silence noisy jobs in Laravel Horizon using its built-in job tagging and silencing features. This reduces notification clutter by muting specific disruptive jobs while maintaining visibility into critical queue workflows.