Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Circuit Breaker Laravel Package

webrek/laravel-circuit-breaker

View on GitHub
Deep Wiki
Context7
1.0.0

Added

  • CircuitBreaker::for($name)->call($operation, $fallback) wrapping any operation in a three-state circuit (closed → open → half-open).
  • Consecutive-failure tripping, a cooldown before a half-open trial, and a configurable number of trial successes before the circuit closes again.
  • Distributed state via any Laravel cache store, so the breaker is shared across processes and servers.
  • Per-circuit configuration overrides and an ignore list for exceptions that should not count as failures (e.g. 4xx responses).
  • CircuitOpened, CircuitClosed and CircuitHalfOpened events, and a circuit-breaker:reset command.
  • Supports Laravel 12 and 13 on PHP 8.2+.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
codraw/graphviz
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata