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

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

innmind/homeostasis-bundle
==========================

App health regulator bundle

2.0.0(8y ago)0124MITPHPPHP ~7.1

Since Jun 29Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Innmind/HomeostasisBundle)[ Packagist](https://packagist.org/packages/innmind/homeostasis-bundle)[ Docs](http://github.com/Innmind/HomeostasisBundle)[ RSS](/packages/innmind-homeostasis-bundle/feed)WikiDiscussions develop Synced 4w ago

READMEChangelogDependencies (6)Versions (6)Used By (0)

Homeostasis Bundle
==================

[](#homeostasis-bundle)

`master``develop`[![Scrutinizer Code Quality](https://camo.githubusercontent.com/c873aae37724fbbb9502317bbbf27e66d2ec3235bf244187cb6a7eaa7ed2a607/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f496e6e6d696e642f486f6d656f73746173697342756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Innmind/HomeostasisBundle/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/77daf2d1d15cd0c6fbe98dadebb92df5cd225646dd80d255ee39245c415bb7cb/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f496e6e6d696e642f486f6d656f73746173697342756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d646576656c6f70)](https://scrutinizer-ci.com/g/Innmind/HomeostasisBundle/?branch=develop)[![Code Coverage](https://camo.githubusercontent.com/845d1555331f2c5528ae2531f892da57737fdb7d975de34dda28498b80ec5493/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f496e6e6d696e642f486f6d656f73746173697342756e646c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Innmind/HomeostasisBundle/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/329a8ff1c1dbc970dd75f1392db42889ae30daf25f209c8b1a27975c764cf361/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f496e6e6d696e642f486f6d656f73746173697342756e646c652f6261646765732f636f7665726167652e706e673f623d646576656c6f70)](https://scrutinizer-ci.com/g/Innmind/HomeostasisBundle/?branch=develop)[![Build Status](https://camo.githubusercontent.com/84cba4ff59c9c30331a73e8e417d14dafb7f61db50c25ec5bcb2ed6389d96735/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f496e6e6d696e642f486f6d656f73746173697342756e646c652f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Innmind/HomeostasisBundle/build-status/master)[![Build Status](https://camo.githubusercontent.com/5769b46f42f180a2abd5bf389c145f55623cd2e1b8352571dffda6babfa93ba6/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f496e6e6d696e642f486f6d656f73746173697342756e646c652f6261646765732f6275696c642e706e673f623d646576656c6f70)](https://scrutinizer-ci.com/g/Innmind/HomeostasisBundle/build-status/develop)Installation
------------

[](#installation)

```
composer require innmind/homeostasis-bundle
```

Enable the bundle by adding the following line in your app/AppKernel.php of your project:

```
// app/AppKernel.php

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = array(
            // ...
            new Innmind\HomeostasisBundle\InnmindHomeostasisBundle,
        );
        // ...
    }
    // ...
}
```

Then you need to specify the an actuator:

```
innmind_homeostasis:
    actuator: service_id
```

The actuator service will need to implement the interface `Innmind\Homeostasis\Actuator`.

By default it uses the cpu and symfony logs as factors, but you can your own via the `factors` config key. To add a factor you need to create a service tagged with `innmind.homeostasis.factor` and with an `alias` attribute, this alias will need to be a key in the `factors` config. If you define a factory on your service then the data under your alias in the config will be injected in the factory service.

Usage
-----

[](#usage)

To trigger the whole mechanism you just have to call the following code somewhere in your app (for exemple on `console.terminate` when an amqp consumer finished his job).

```
$container->get('innmind.homeostasis.regulator')();
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~33 days

Total

4

Last Release

3188d ago

Major Versions

1.0.2 → 2.0.02017-10-07

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/851425?v=4)[Baptiste Langlade](/maintainers/Baptouuuu)[@Baptouuuu](https://github.com/Baptouuuu)

---

Top Contributors

[![Baptouuuu](https://avatars.githubusercontent.com/u/851425?v=4)](https://github.com/Baptouuuu "Baptouuuu (15 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/innmind-homeostasis-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/innmind-homeostasis-bundle/health.svg)](https://phpackages.com/packages/innmind-homeostasis-bundle)
```

PHPackages © 2026

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