PHPackages                             ph-7/dependency-injection-container - 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. ph-7/dependency-injection-container

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

ph-7/dependency-injection-container
===================================

Simple PHP 7.1+ Dependency Injection Container (DIC) Library.

1.0.4(6y ago)1051GPL-3.0-or-laterPHP &gt;=7.1.0

Since Sep 3Compare

[ Source](https://github.com/pH-7/Simple-PH-DIC)[ Packagist](https://packagist.org/packages/ph-7/dependency-injection-container)[ Docs](https://github.com/pH-7/dependency-injection-container)[ RSS](/packages/ph-7-dependency-injection-container/feed)WikiDiscussions Synced 2mo ago

READMEChangelogDependencies (4)Versions (5)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/pH-7/Simple-PH-DIC).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity60

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

Total

4

Last Release

2486d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b6d95da236687f1dca4f7d70d60037c70ef217120ea195df23a39a412ba594e0?d=identicon)[ph-7](/maintainers/ph-7)

---

Top Contributors

[![pH-7](https://avatars.githubusercontent.com/u/1325411?v=4)](https://github.com/pH-7 "pH-7 (34 commits)")

---

Tags

containerinjectiondependency-injectiondidic

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ph-7-dependency-injection-container/health.svg)

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

###  Alternatives

[league/container

A fast and intuitive dependency injection container.

86387.8M342](/packages/league-container)[php-di/php-di

The dependency injection container for humans

2.8k48.9M994](/packages/php-di-php-di)[laminas/laminas-servicemanager

Factory-Driven Dependency Injection Container

15955.1M694](/packages/laminas-laminas-servicemanager)[aura/di

A serializable dependency injection container with constructor and setter injection, interface and trait awareness, configuration inheritance, and much more.

356968.3k58](/packages/aura-di)[mrclay/props-dic

Props is a simple DI container that allows retrieving values via custom property and method names

3611.7M3](/packages/mrclay-props-dic)[slince/di

A flexible dependency injection container

20260.4k6](/packages/slince-di)

PHPackages © 2026

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