eljam/circuit-breaker
eljam/circuit-breaker adds the circuit breaker pattern to Laravel: it tracks failures from flaky services, opens the circuit to fail fast instead of cascading, and closes it again once the service recovers. Configurable thresholds, fallbacks, and custom handlers prevent downtime from spreading.
composer why-not pass on our stack?ResilienceGateway or CircuitBreakerRegistry. Avoid leaking package classes into domain code. For Laravel, bind the adapter in a service provider, configure thresholds per dependency, and expose metrics through existing logging/metrics channels.How can I help you explore Laravel packages today?