{"repo":"harris21/laravel-fuse","free":true,"listed":false,"github":"https://github.com/harris21/laravel-fuse","clone":"git clone https://github.com/harris21/laravel-fuse.git","description":"Circuit breaker for Laravel queue jobs","language":"PHP","stars":465,"topics":["laravel","circuit-breaker","queues","resilience","php"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Circuit breaker for Laravel queue jobs Protect your queue workers from cascading failures when external services go down. --- The Problem When Stripe goes down at 11 PM, your queue workers don't know. They keep trying to charge customers. Each job waits 30 seconds for a timeout. Then retries. Waits again. Your entire queue system freezes. Without Fuse: 10,000 jobs × 30-second timeouts = 25+ hours to clear the queue. With Fuse: Circuit opens after 5 failures. Queue clears in 10 seconds. Automatic recovery when the service returns. --- Features - Three-State Circuit Breaker — CLOSED (normal), OPEN (protected), HALF-OPEN (testing recovery) - Intelligent Failure Classification — 429 rate limits and auth errors don't trip the circuit - Peak Hours Support — Different thresholds for business hours vs. off-peak - Configurable Window Tracking — Tumbling time buckets (default 60s, tunable per service) with automatic expiration, no cleanup needed - Thundering Herd Prevention — Cache::lock() ensures only one worker probes during recovery - Zero Data Loss — Jobs are delayed with release() , not failed permanently - Automatic Recovery — Circuit tests and heals itself when services return - Optional Recovery Strategies — Single-probe works out of the box; plug in your own strategy if a service needs to warm back up differently - Per-Service Circuits — Separate breakers for Stripe, Mailgun, your microservices - Laravel Events — Get notified on state transitions for alerting and monitoring - ","default_branch":null,"files":null,"tree":[],"storefront":"/r/harris21","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/harris21/laravel-fuse/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}