PHPackages                             liamsorsby/php-hystrix - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. liamsorsby/php-hystrix

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

liamsorsby/php-hystrix
======================

PHP implemention of Hystrix

v0.1(6y ago)31[1 issues](https://github.com/liamsorsby/php-hystrix/issues)[1 PRs](https://github.com/liamsorsby/php-hystrix/pulls)MITPHP

Since Jan 30Pushed 5y ago1 watchersCompare

[ Source](https://github.com/liamsorsby/php-hystrix)[ Packagist](https://packagist.org/packages/liamsorsby/php-hystrix)[ RSS](/packages/liamsorsby-php-hystrix/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (10)Versions (5)Used By (0)

php-hystrix
===========

[](#php-hystrix)

[![Build Status](https://camo.githubusercontent.com/df25355d80272913ab48cc21096fe00b4fbbdb9700d6e9de807f1160aae875a8/68747470733a2f2f7472617669732d63692e636f6d2f6c69616d736f727362792f7068702d687973747269782e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/liamsorsby/php-hystrix) [![codecov](https://camo.githubusercontent.com/ca5552fbc20726f4fef92d15609ca9e388d325a5caafce9f15b612bf80c1dfc7/68747470733a2f2f636f6465636f762e696f2f67682f6c69616d736f727362792f7068702d687973747269782f6272616e63682f6d61737465722f67726170682f62616467652e737667)](https://codecov.io/gh/liamsorsby/php-hystrix) [![Scrutinizer Code Quality](https://camo.githubusercontent.com/0843c5864a15a63177073bb05c856798f1583ad490536b82d0b035619cfac404/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c69616d736f727362792f7068702d687973747269782f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/liamsorsby/php-hystrix/?branch=master)[![Build Status](https://camo.githubusercontent.com/1f21eb928d086786d7a93b9ecaabbd3b8db53d431df54a83eba9e5beecf9fada/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c69616d736f727362792f7068702d687973747269782f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/liamsorsby/php-hystrix/build-status/master) [![Code Intelligence Status](https://camo.githubusercontent.com/9e5b232aefef708ea9ee85c220ee87e947db396af98a596d3f3796f04e58ab58/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6c69616d736f727362792f7068702d687973747269782f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/code-intelligence) [![Quality Gate Status](https://camo.githubusercontent.com/a20571a546ea431fb078f6e794d23f1166d60daf97dcdebc30af054af64fa3af/68747470733a2f2f736f6e6172636c6f75642e696f2f6170692f70726f6a6563745f6261646765732f6d6561737572653f70726f6a6563743d6c69616d736f727362795f7068702d68797374726978266d65747269633d616c6572745f737461747573)](https://sonarcloud.io/dashboard?id=liamsorsby_php-hystrix)

Circuit Breaker
---------------

[](#circuit-breaker)

This is an example repo that provides basic circuit breaking capabilities

Supported Caches
----------------

[](#supported-caches)

1. APC
2. Redis
3. RedisArray
4. RedisCluster
5. Memcached

Examples
--------

[](#examples)

```
$cb = $factory->create(StorageFactory::APC, []);

try {
    if(!$cb->isOpen()) {
        // do something
        return;
    }
    // Transactional or complex operation
} catch (Exception $e) {
    $cb->reportFailure('');
    // log error from $e->getMessage()
}
```

More examples can be found in the [examples directory](examples)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92% 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

Unknown

Total

1

Last Release

2290d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/965a8357e95c53d6aa5b88e4ba5888e38cecdc07714fd69896eef559e766179a?d=identicon)[Liamsorsby](/maintainers/Liamsorsby)

---

Top Contributors

[![liamsorsby](https://avatars.githubusercontent.com/u/5270149?v=4)](https://github.com/liamsorsby "liamsorsby (23 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (2 commits)")

---

Tags

circuit-breakerhystrixphp7

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/liamsorsby-php-hystrix/health.svg)

```
[![Health](https://phpackages.com/badges/liamsorsby-php-hystrix/health.svg)](https://phpackages.com/packages/liamsorsby-php-hystrix)
```

###  Alternatives

[kaufmanndigital/gdpr-cookieconsent

A ready-to-run package, that integrates an advanced cookie consent banner into your Neos CMS site.

2540.7k](/packages/kaufmanndigital-gdpr-cookieconsent)[irail/stations

Use the Belgian railway's station in your PHP project

332.3k](/packages/irail-stations)[derhansen/sf_banners

Banner-Management Extension based on Extbase and Fluid. Loads banners asynchronously using JavaScript.

1144.5k](/packages/derhansen-sf-banners)[martin/wn-forms-plugin

Create easy (and almost magic) AJAX forms

212.3k](/packages/martin-wn-forms-plugin)

PHPackages © 2026

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