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

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

hyperf/di
=========

A DI for Hyperf.

v3.2.0(3w ago)173.0M↓14.2%1320MITPHPPHP &gt;=8.2

Since Jun 14Pushed 3w ago1 watchersCompare

[ Source](https://github.com/hyperf/di)[ Packagist](https://packagist.org/packages/hyperf/di)[ Docs](https://hyperf.io)[ Fund](https://hyperf.wiki/#/zh-cn/donate)[ Fund](https://opencollective.com/hyperf)[ RSS](/packages/hyperf-di/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (30)Versions (146)Used By (20)

### README not available

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

###  Health Score

73

↑

ExcellentBetter than 100% of packages

Maintenance94

Actively maintained with recent releases

Popularity52

Moderate usage in the ecosystem

Community48

Growing community involvement

Maturity90

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~26 days

Total

145

Last Release

27d ago

Major Versions

v1.1.28 → v2.0.02020-06-19

1.1.x-dev → v2.0.32020-07-15

v2.2.25 → v3.0.0-alpha.12022-01-30

v2.2.31 → v3.0.0-alpha.122022-05-16

2.2.x-dev → v3.0.0-beta.12022-05-30

PHP version history (5 changes)v1.0.0PHP &gt;=7.2

v2.1.0-beta1PHP &gt;=7.3

v3.0.0-alpha.1PHP &gt;=8.0

v3.1.0-alpha.1PHP &gt;=8.1

v3.2.0-alpha.1PHP &gt;=8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/44228082?v=4)[Hyperf Community](/maintainers/hyperf)[@hyperf](https://github.com/hyperf)

---

Top Contributors

[![limingxinleo](https://avatars.githubusercontent.com/u/16648551?v=4)](https://github.com/limingxinleo "limingxinleo (275 commits)")[![huangzhhui](https://avatars.githubusercontent.com/u/12077148?v=4)](https://github.com/huangzhhui "huangzhhui (181 commits)")[![assert6](https://avatars.githubusercontent.com/u/28561563?v=4)](https://github.com/assert6 "assert6 (40 commits)")[![Reasno](https://avatars.githubusercontent.com/u/3881629?v=4)](https://github.com/Reasno "Reasno (30 commits)")[![huangdijia](https://avatars.githubusercontent.com/u/8337659?v=4)](https://github.com/huangdijia "huangdijia (25 commits)")[![sy-records](https://avatars.githubusercontent.com/u/33931153?v=4)](https://github.com/sy-records "sy-records (5 commits)")[![wenbinye](https://avatars.githubusercontent.com/u/1221975?v=4)](https://github.com/wenbinye "wenbinye (4 commits)")[![xuanyanwow](https://avatars.githubusercontent.com/u/28777109?v=4)](https://github.com/xuanyanwow "xuanyanwow (3 commits)")[![albertcht](https://avatars.githubusercontent.com/u/9117929?v=4)](https://github.com/albertcht "albertcht (2 commits)")[![Chance-fyi](https://avatars.githubusercontent.com/u/37658940?v=4)](https://github.com/Chance-fyi "Chance-fyi (2 commits)")[![daydaygo](https://avatars.githubusercontent.com/u/3986303?v=4)](https://github.com/daydaygo "daydaygo (2 commits)")[![tw2066](https://avatars.githubusercontent.com/u/24579418?v=4)](https://github.com/tw2066 "tw2066 (2 commits)")[![huanghantao](https://avatars.githubusercontent.com/u/22836925?v=4)](https://github.com/huanghantao "huanghantao (1 commits)")[![guandeng](https://avatars.githubusercontent.com/u/7838221?v=4)](https://github.com/guandeng "guandeng (1 commits)")[![kids-return](https://avatars.githubusercontent.com/u/4520936?v=4)](https://github.com/kids-return "kids-return (1 commits)")[![kingIZZZY](https://avatars.githubusercontent.com/u/1576535?v=4)](https://github.com/kingIZZZY "kingIZZZY (1 commits)")[![gilbertomarcomini](https://avatars.githubusercontent.com/u/19153695?v=4)](https://github.com/gilbertomarcomini "gilbertomarcomini (1 commits)")[![Lysice](https://avatars.githubusercontent.com/u/17869820?v=4)](https://github.com/Lysice "Lysice (1 commits)")[![Millyn](https://avatars.githubusercontent.com/u/7987563?v=4)](https://github.com/Millyn "Millyn (1 commits)")[![motian](https://avatars.githubusercontent.com/u/2382215?v=4)](https://github.com/motian "motian (1 commits)")

---

Tags

coroutinedependency-injectionhyperfswoolephpdiswooleannotationhyperf

### Embed Badge

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

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

###  Alternatives

[hyperf/http-server

A HTTP Server for Hyperf.

103.0M373](/packages/hyperf-http-server)[hyperf/database

A flexible database library.

192.9M323](/packages/hyperf-database)[hyperf/amqp

A amqplib for hyperf.

231.3M73](/packages/hyperf-amqp)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[hyperf/crontab

A crontab component for Hyperf.

131.7M77](/packages/hyperf-crontab)

PHPackages © 2026

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