0074-laravel-queues-and-horizon

Operate Laravel queue workers with retry controls and Horizon monitoring.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/MrJmpl3/codex_____data_____configuration --skill 0074-laravel-queues-and-horizon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: 0074-laravel-queues-and-horizon
Source: https://github.com/MrJmpl3/codex_____data_____configuration/tree/main/skills/0074-laravel-queues-and-horizon
Command: npx skills add https://github.com/MrJmpl3/codex_____data_____configuration --skill 0074-laravel-queues-and-horizon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Ensuring Laravel queue workers run reliably in production without silently failing, hanging, or repeatedly retrying bad jobs.

Core Features & Use Cases

  • Safe worker operation: Configure queue:work with controlled retry behavior (tries/backoff) and targeted queues for predictable processing.
  • Horizon observability & recovery: Use Horizon when available to monitor execution and manage operational visibility, including failed-job workflows.
  • Testable job behavior: Validate dispatching with Bus::fake() and verify side effects with integration tests so retries and failure handling behave as expected.

Quick Start

Use the skill to start a queue worker for the high and default queues with retry controls, then list failed jobs to confirm failure handling works as intended.

Frequently Asked Questions about 0074-laravel-queues-and-horizon

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

FAQPage Schema
How do I run Laravel queue workers safely in production without silently failing jobs?

To run Laravel queue workers safely, configure queue:work with controlled retry behavior using safe worker flags like tries and backoff, and target specific named queues to ensure predictable background job processing without silent failures.

How do I test Laravel queue job dispatching and failure handling behavior?

Test Laravel queue job behavior by validating dispatching with Bus::fake() and verifying side effects through integration tests, ensuring that retries and failure handling execute as expected during background job processing.

Does Laravel Horizon work with multiple named queues for operational monitoring?

Yes, Laravel Horizon provides operational monitoring and observability for background job processing across multiple named queues, allowing you to track execution and manage failed-job workflows effectively.

What's the best way to inspect and retry failed Laravel queue jobs?

The best way to manage failed Laravel queue jobs is through Horizon's operational visibility and failure inspection workflows, which support remediation flows including job retry and rehydration steps for reliable queue processing.

Why do my Laravel queue workers hang or repeatedly retry bad jobs in production?

Laravel queue workers hang or repeatedly retry bad jobs when safe worker flags like tries and backoff are not configured, leading to uncontrolled retry behavior during background job processing.

Can I use Laravel Horizon for queue monitoring without explicit queue targeting?

While Laravel Horizon provides operational monitoring, you should apply explicit queue targeting when starting queue workers to ensure predictable processing across specific named queues and maintain reliable background job execution.