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

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

kode/di
=======

高性能 PHP 8.1+ 依赖注入容器，支持属性注入、生命周期管理、协程上下文隔离，兼容 PSR-11

v1.0.3(2d ago)00Apache-2.0PHP ^8.1

Since Mar 14Compare

[ Source](https://github.com/kodephp/di)[ Packagist](https://packagist.org/packages/kode/di)[ Docs](https://github.com/kodephp/di)[ RSS](/packages/kode-di/feed)WikiDiscussions Synced today

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

### README not available

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

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance100

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

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

Total

2

Last Release

2d ago

### Community

Maintainers

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

---

Tags

containerPSR-11dependency-injectiondiioccoroutineattributefiberkodephp

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[php-di/php-di

The dependency injection container for humans

2.8k47.0M884](/packages/php-di-php-di)[slince/di

A flexible dependency injection container

20256.7k5](/packages/slince-di)[capsule/di

A PSR-11 compliant autowiring dependency injection container.

2856.2k2](/packages/capsule-di)

PHPackages © 2026

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