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.1.67(2mo ago)182.8M—5.6%1320MITPHPPHP &gt;=8.1

Since Jun 14Pushed 2mo 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 1mo ago

READMEChangelog (10)Dependencies (15)Versions (144)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

70

—

ExcellentBetter than 100% of packages

Maintenance85

Actively maintained with recent releases

Popularity52

Moderate usage in the ecosystem

Community47

Growing community involvement

Maturity86

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

Total

143

Last Release

65d ago

Major Versions

v1.1.28 → v2.0.02020-06-19

v1.1.29 → 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 (265 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 (21 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)")[![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)")[![albertcht](https://avatars.githubusercontent.com/u/9117929?v=4)](https://github.com/albertcht "albertcht (2 commits)")[![huanghantao](https://avatars.githubusercontent.com/u/22836925?v=4)](https://github.com/huanghantao "huanghantao (1 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (1 commits)")[![kids-return](https://avatars.githubusercontent.com/u/4520936?v=4)](https://github.com/kids-return "kids-return (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)")[![gilbertomarcomini](https://avatars.githubusercontent.com/u/19153695?v=4)](https://github.com/gilbertomarcomini "gilbertomarcomini (1 commits)")[![bytehello](https://avatars.githubusercontent.com/u/7567814?v=4)](https://github.com/bytehello "bytehello (1 commits)")[![robbyLuo95](https://avatars.githubusercontent.com/u/37437854?v=4)](https://github.com/robbyLuo95 "robbyLuo95 (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/crontab

A crontab component for Hyperf.

131.6M62](/packages/hyperf-crontab)[hyperf/http-server

A HTTP Server for Hyperf.

102.8M305](/packages/hyperf-http-server)[hyperf/swoole-tracker

A swoole tracker library for Hyperf.

1720.3k](/packages/hyperf-swoole-tracker)

PHPackages © 2026

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