PHPackages                             butterfly/dependency-injection - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. butterfly/dependency-injection

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

butterfly/dependency-injection
==============================

Butterfly PHP. Dependency Injection Component

2.2.0(5y ago)728.9k↓100%2MITPHPPHP &gt;=7.0.0

Since Jul 14Pushed 5y ago4 watchersCompare

[ Source](https://github.com/butterfly-project/dependency-injection)[ Packagist](https://packagist.org/packages/butterfly/dependency-injection)[ RSS](/packages/butterfly-dependency-injection/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (30)Used By (2)

Butterfly
=========

[](#butterfly)

Butterfly PHP. Dependency Injection Component

###  Health Score

36

—

LowBetter than 81% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity69

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 ~96 days

Recently: every ~479 days

Total

27

Last Release

2187d ago

Major Versions

1.6.2 → 2.0-alpha2015-09-28

PHP version history (2 changes)1.0.1PHP &gt;=5.3.3

2.1.0PHP &gt;=7.0.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/aeb991f514eb8cc4613ced55ef1ea459955650aa6c57a20386f4256344d07065?d=identicon)[agregad](/maintainers/agregad)

---

Top Contributors

[![AgreGAD](https://avatars.githubusercontent.com/u/5005563?v=4)](https://github.com/AgreGAD "AgreGAD (80 commits)")

---

Tags

containerdependency-injectiondiioc

### Embed Badge

![Health badge](/badges/butterfly-dependency-injection/health.svg)

```
[![Health](https://phpackages.com/badges/butterfly-dependency-injection/health.svg)](https://phpackages.com/packages/butterfly-dependency-injection)
```

###  Alternatives

[php-di/php-di

The dependency injection container for humans

2.8k48.9M987](/packages/php-di-php-di)[slince/di

A flexible dependency injection container

20260.4k6](/packages/slince-di)[capsule/di

A PSR-11 compliant autowiring dependency injection container.

2857.5k2](/packages/capsule-di)

PHPackages © 2026

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