PHPackages                             league/di - 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. league/di

Abandoned → [orno/di](/?search=orno%2Fdi)Library

league/di
=========

Fast Dependency Injection Container for PHP 5.3+

1.2.0(12y ago)593.6k[3 PRs](https://github.com/thephpleague/di/pulls)2MITPHP &gt;=5.3.0

Since Jul 25Compare

[ Source](https://github.com/thephpleague/di)[ Packagist](https://packagist.org/packages/league/di)[ Docs](https://github.com/php-loep/di)[ RSS](/packages/league-di/feed)WikiDiscussions Synced 2mo ago

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

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/thephpleague/di).

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 80.4% 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 ~5 days

Total

3

Last Release

4666d ago

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/3a5327d87a2a2d37a9412d5706442399763d86cb773f81adbe58c8d749393e2d?d=identicon)[alexbilbie](/maintainers/alexbilbie)

![](https://avatars.githubusercontent.com/u/718028?v=4)[Don Gilbert](/maintainers/dongilbert)[@dongilbert](https://github.com/dongilbert)

---

Top Contributors

[![dongilbert](https://avatars.githubusercontent.com/u/718028?v=4)](https://github.com/dongilbert "dongilbert (41 commits)")[![toopay](https://avatars.githubusercontent.com/u/534245?v=4)](https://github.com/toopay "toopay (6 commits)")[![ekho](https://avatars.githubusercontent.com/u/374426?v=4)](https://github.com/ekho "ekho (3 commits)")[![marcqualie](https://avatars.githubusercontent.com/u/101022?v=4)](https://github.com/marcqualie "marcqualie (1 commits)")

---

Tags

dependency-injectioniocdic

### Embed Badge

![Health badge](/badges/league-di/health.svg)

```
[![Health](https://phpackages.com/badges/league-di/health.svg)](https://phpackages.com/packages/league-di)
```

###  Alternatives

[php-di/php-di

The dependency injection container for humans

2.8k48.9M994](/packages/php-di-php-di)[rdlowrey/auryn

Auryn is a dependency injector for bootstrapping object-oriented PHP applications.

7262.2M76](/packages/rdlowrey-auryn)[nette/di

💎 Nette Dependency Injection Container: Flexible, compiled and full-featured DIC with perfectly usable autowiring and support for all new PHP features.

92140.6M1.4k](/packages/nette-di)[laminas/laminas-servicemanager

Factory-Driven Dependency Injection Container

15955.1M694](/packages/laminas-laminas-servicemanager)[jtreminio/zimple

A wrapper for Pimple container that adds several useful features to make it easier to manage your code!

101.4k](/packages/jtreminio-zimple)

PHPackages © 2026

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