bizkit/circuit-breaker-bundle
Adopt if:
Look elsewhere if:
*"This package lets us automatically ‘fail fast’ when external services (like payment processors or ad networks) misbehave—without crashing our app. Think of it like a circuit breaker in your home’s electrical panel, but for APIs. It’ll save us from:
*"This bundles gabrielanhaia/php-circuit-breaker with Symfony HttpClient, giving us:
http_client with configurable thresholds (e.g., ‘trip after 5 failures in 1 minute’).*"This fills a gap in Symfony’s ecosystem by providing a standardized, cache-backed circuit breaker for HttpClient. Key advantages:
payment_client, analytics_client).php-circuit-breaker, which supports custom strategies if needed.retry_strategy or a library like symfony/retrier).How can I help you explore Laravel packages today?