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

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

planerama/php-di
================

The dependency injection container for humans

00PHP

Since Oct 1Pushed 3y ago2 watchersCompare

[ Source](https://github.com/planerama/php-di)[ Packagist](https://packagist.org/packages/planerama/php-di)[ RSS](/packages/planerama-php-di/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (1)Used By (0)

   layout home  [![](doc/img.png)](https://php-di.org/)

[![Downloads per months](https://camo.githubusercontent.com/0046f65a08bccbf463d02bdcba967612496565c6b7254c31606e86e1a18a605b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f5048502d44492f5048502d44492e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/PHP-DI/PHP-DI)[![Total downloads](https://camo.githubusercontent.com/4e2889d0e76a0d3cff46a980e1137256a0235871f3f865c60350ee59d1d8c013/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f5048502d44492f5048502d44492e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/PHP-DI/PHP-DI)

[![Average time to resolve an issue](https://camo.githubusercontent.com/be05a2e5a130cf6598331735b5c241261abeb2f0d911393f70364c0e4fc4e2c5/687474703a2f2f697369746d61696e7461696e65642e636f6d2f62616467652f7265736f6c7574696f6e2f5048502d44492f5048502d44492e737667)](http://isitmaintained.com/project/PHP-DI/PHP-DI "Average time to resolve an issue")[![Percentage of issues still open](https://camo.githubusercontent.com/5134f8f86072c40fbf27629f882903745014ef8c0c2e101d4365afb8388b92af/687474703a2f2f697369746d61696e7461696e65642e636f6d2f62616467652f6f70656e2f5048502d44492f5048502d44492e737667)](http://isitmaintained.com/project/PHP-DI/PHP-DI "Percentage of issues still open")

PHP-DI is a dependency injection container meant to be practical, powerful, and framework-agnostic.

Read more on the website: **[php-di.org](https://php-di.org)**

Get community support in the Gitter chat room: [![Gitter chat](https://camo.githubusercontent.com/c7cc2742cab73e82ec7e40a96e2662d1cc112d35e50011a7d269c907e2cdb3aa/68747470733a2f2f6261646765732e6769747465722e696d2f5048502d44492f5048502d44492e706e67)](https://gitter.im/PHP-DI/PHP-DI)

For Enterprise
--------------

[](#for-enterprise)

*Available as part of the Tidelift Subscription*

The maintainers of php-di/php-di and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. [Learn more.](https://tidelift.com/subscription/pkg/packagist-php-di-php-di?utm_source=packagist-php-di-php-di&utm_medium=referral&utm_campaign=enterprise&utm_term=repo)

###  Health Score

13

—

LowBetter than 1% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity0

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity24

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4c922473636fe47bf76843d00b912501c38cd4f5fe559ef1e493942e7357847e?d=identicon)[planerama](/maintainers/planerama)

---

Top Contributors

[![mwakalingajohn](https://avatars.githubusercontent.com/u/14811728?v=4)](https://github.com/mwakalingajohn "mwakalingajohn (2 commits)")

### Embed Badge

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

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

###  Alternatives

[steevanb/doctrine-stats

Count managed and lazy loaded entities, hydration time etc

7182.9k1](/packages/steevanb-doctrine-stats)

PHPackages © 2026

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