PHPackages                             ksaveras/circuit-breaker-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. ksaveras/circuit-breaker-bundle

ActiveSymfony-bundle[API Development](/categories/api)

ksaveras/circuit-breaker-bundle
===============================

Circuit Breaker Symfony Bundle

1.0.0(3y ago)21[3 PRs](https://github.com/ksaveras/circuit-breaker-bundle/pulls)MITPHPPHP ^8.1CI passing

Since May 1Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/ksaveras/circuit-breaker-bundle)[ Packagist](https://packagist.org/packages/ksaveras/circuit-breaker-bundle)[ RSS](/packages/ksaveras-circuit-breaker-bundle/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (8)Versions (7)Used By (0)

Circuit Breaker Symfony Bundle
==============================

[](#circuit-breaker-symfony-bundle)

[![Travis (.org) branch](https://camo.githubusercontent.com/2b248dd8715b40bf3d75b3d4066c52673439f8561cb34cda90113b73081a81d8/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6b736176657261732f636972637569742d627265616b65722d62756e646c652f6d6173746572)](https://camo.githubusercontent.com/2b248dd8715b40bf3d75b3d4066c52673439f8561cb34cda90113b73081a81d8/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6b736176657261732f636972637569742d627265616b65722d62756e646c652f6d6173746572)[![Code Climate maintainability](https://camo.githubusercontent.com/89f7e7ae37ec4b0819d2a0fa345f418c1609ddce0998ff4e7d5447d74bf2e8d0/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6d61696e7461696e6162696c6974792f6b736176657261732f636972637569742d627265616b65722d62756e646c65)](https://camo.githubusercontent.com/89f7e7ae37ec4b0819d2a0fa345f418c1609ddce0998ff4e7d5447d74bf2e8d0/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6d61696e7461696e6162696c6974792f6b736176657261732f636972637569742d627265616b65722d62756e646c65)[![GitHub](https://camo.githubusercontent.com/320602105654723b89b3934c732212d56d9acaff782c5afced26bed6f6a1e6ab/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6b736176657261732f636972637569742d627265616b65722d62756e646c65)](https://camo.githubusercontent.com/320602105654723b89b3934c732212d56d9acaff782c5afced26bed6f6a1e6ab/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6b736176657261732f636972637569742d627265616b65722d62756e646c65)

Installation
============

[](#installation)

Make sure Composer is installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Applications that use Symfony Flex
----------------------------------

[](#applications-that-use-symfony-flex)

Open a command console, enter your project directory and execute:

```
$ composer require ksaveras/circuit-breaker-bundle
```

Applications that don't use Symfony Flex
----------------------------------------

[](#applications-that-dont-use-symfony-flex)

### Step 1: Download the Bundle

[](#step-1-download-the-bundle)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require ksaveras/circuit-breaker-bundle
```

### Step 2: Enable the Bundle

[](#step-2-enable-the-bundle)

Then, enable the bundle by adding it to the list of registered bundles in the `config/bundles.php` file of your project:

```
// config/bundles.php

return [
    // ...
    Ksaveras\CircuitBreakerBundle\KsaverasCircuitBreakerBundle::class => ['all' => true],
];
```

Configuration
-------------

[](#configuration)

```
# config/packages/circuit_breaker.yaml
ksaveras_circuit_breaker:
    circuit_breakers:
        cb_name:
            storage: 'cache'
            failure_threshold: 3
            retry_policy:
                exponential:
                    reset_timeout: 60
                    maximum_timeout: 86400

    storage:
        in_memory: ~
        cache: 'pool_service_id'
        my_storage: '@storage_service'
```

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance49

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 97.6% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~574 days

Total

3

Last Release

1105d ago

Major Versions

v0.2.0 → 1.0.02023-06-24

PHP version history (3 changes)v0.1.0PHP ^7.2.5

v0.2.0PHP ^7.4|^8.0

1.0.0PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/485111?v=4)[Ksaveras Sakys](/maintainers/ksaveras)[@ksaveras](https://github.com/ksaveras)

---

Top Contributors

[![ksaveras](https://avatars.githubusercontent.com/u/485111?v=4)](https://github.com/ksaveras "ksaveras (40 commits)")[![release-automaton[bot]](https://avatars.githubusercontent.com/in/341347?v=4)](https://github.com/release-automaton[bot] "release-automaton[bot] (1 commits)")

---

Tags

bundlecircuit-breakercircuit-breaker-patternerror-handlingfault-tolerancemicroservicesphpsymfony-bundlesymfony-flexapierror handlingSymfony Bundlemicroservicescircuit breakerfault tolerancecircuit breaker bundle

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan, Rector

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ksaveras-circuit-breaker-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/ksaveras-circuit-breaker-bundle/health.svg)](https://phpackages.com/packages/ksaveras-circuit-breaker-bundle)
```

###  Alternatives

[ackintosh/ganesha

PHP implementation of Circuit Breaker pattern

6684.3M15](/packages/ackintosh-ganesha)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[ahmed-bhs/doctrine-doctor

Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.

9410.8k](/packages/ahmed-bhs-doctrine-doctor)[ecotone/symfony-bundle

Ecotone for Symfony — CQRS, Event Sourcing, Sagas, Durable Workflows, and Outbox on top of Symfony Messenger, via PHP attributes.

11249.0k1](/packages/ecotone-symfony-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
