PHPackages                             emonkak/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. [Framework](/categories/framework)
4. /
5. emonkak/di

ActiveLibrary[Framework](/categories/framework)

emonkak/di
==========

A fast dependency injection library for PHP

v4.0.0(6y ago)328.9k1MITPHPPHP &gt;=7.4CI failing

Since Feb 21Pushed 6y ago1 watchersCompare

[ Source](https://github.com/emonkak/php-di)[ Packagist](https://packagist.org/packages/emonkak/di)[ RSS](/packages/emonkak-di/feed)WikiDiscussions master Synced today

READMEChangelog (2)Dependencies (5)Versions (7)Used By (1)

Emonkak\\Di
===========

[](#emonkakdi)

[![Build Status](https://camo.githubusercontent.com/83fa95e22e8bed36dae03a440e5cd9efa11cbe0cbe171af99fd68b4f340a2ef9/68747470733a2f2f7472617669732d63692e6f72672f656d6f6e6b616b2f7068702d64692e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/emonkak/php-di)[![Coverage Status](https://camo.githubusercontent.com/94af73f1809d66e91d36cea6c1a354af28a2f1ae938ff9371bacd27d80dd001d/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f656d6f6e6b616b2f7068702d64692f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/emonkak/php-di?branch=master)

Licence
-------

[](#licence)

MIT Licence

Documentation
-------------

[](#documentation)

Please see [Wiki](https://github.com/emonkak/php-di/wiki). (but wiki pages are Japanese only)

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity67

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

Recently: every ~413 days

Total

6

Last Release

2230d ago

Major Versions

v1.0.0 → v2.0.02015-11-16

v2.1.0 → v3.0.02016-12-02

v3.1.0 → v4.0.02020-05-25

PHP version history (3 changes)v1.0.0PHP &gt;=5.4

v3.0.0PHP &gt;=5.6

v4.0.0PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/482d690ac653e05c9f5625e0f5f6e71b55e77646ab722bbcfdfbd26bf3c8d86b?d=identicon)[emonkak](/maintainers/emonkak)

---

Top Contributors

[![emonkak](https://avatars.githubusercontent.com/u/188621?v=4)](https://github.com/emonkak "emonkak (130 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.8k543.8M20.0k](/packages/laravel-framework)[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[cakephp/cakephp

The CakePHP framework

8.9k19.5M1.8k](/packages/cakephp-cakephp)[bref/bref

Bref is a framework to write and deploy serverless PHP applications on AWS Lambda.

3.4k10.6M67](/packages/bref-bref)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)

PHPackages © 2026

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