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

ActiveWindwalker-package[Framework](/categories/framework)

windwalker/di
=============

Windwalker DI package

4.2.6(2mo ago)325.1k↓36.1%3MITPHPPHP &gt;=8.4.6CI passing

Since Oct 5Pushed 2mo ago5 watchersCompare

[ Source](https://github.com/windwalker-io/di)[ Packagist](https://packagist.org/packages/windwalker/di)[ Docs](https://github.com/windwalker-io/di)[ RSS](/packages/windwalker-di/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (12)Versions (133)Used By (3)

 [![Windwalker](https://user-images.githubusercontent.com/1639206/151679867-8df93936-e4af-4677-a6f3-eb33d27e038b.svg)](https://user-images.githubusercontent.com/1639206/151679867-8df93936-e4af-4677-a6f3-eb33d27e038b.svg)

Di
--

[](#di)

 Windwalker DI package

 [![GitHub](https://camo.githubusercontent.com/c48624d63a1694f91aca8915db8a4c9644b40b609e04665767bc5392e77b045a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f77696e6477616c6b65722d696f2f64693f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/c48624d63a1694f91aca8915db8a4c9644b40b609e04665767bc5392e77b045a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f77696e6477616c6b65722d696f2f64693f7374796c653d666c61742d737175617265) [![GitHub Workflow Status](https://camo.githubusercontent.com/1f672fe66353a7336702a6b8af9d98b761835d0ec165a4c94ef7706a4e3a8aea/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f77696e6477616c6b65722d696f2f64692f63692e796d6c3f6c6162656c3d74657374267374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/1f672fe66353a7336702a6b8af9d98b761835d0ec165a4c94ef7706a4e3a8aea/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f77696e6477616c6b65722d696f2f64692f63692e796d6c3f6c6162656c3d74657374267374796c653d666c61742d737175617265) [![Packagist Downloads](https://camo.githubusercontent.com/8370b73b8665cbdbe70bfa1b5e20d2e4cae8373db595727dfdaf986a5aa8f94b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f77696e6477616c6b65722f64693f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/8370b73b8665cbdbe70bfa1b5e20d2e4cae8373db595727dfdaf986a5aa8f94b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f77696e6477616c6b65722f64693f7374796c653d666c61742d737175617265) [![Packagist Version](https://camo.githubusercontent.com/cc57b478239301bab5fe0d6df95f7de2aecf000af53bfceee62fd13b1293ea72/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77696e6477616c6b65722f64693f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/cc57b478239301bab5fe0d6df95f7de2aecf000af53bfceee62fd13b1293ea72/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f77696e6477616c6b65722f64693f7374796c653d666c61742d737175617265)

### Installation

[](#installation)

```
composer require windwalker/di ^4.0
```

### Resources

[](#resources)

- [Documentation](https://windwalker.io/documentation/components/di/)
- [Bug report](https://github.com/windwalker-io/framework)
- [Contributing](https://github.com/windwalker-io/framework)
- [Discussion](https://github.com/windwalker-io/framework/discussions)

###  Health Score

62

—

FairBetter than 99% of packages

Maintenance86

Actively maintained with recent releases

Popularity30

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity98

Battle-tested with a long release history

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

Total

131

Last Release

73d ago

Major Versions

2.1.8 → 3.0-beta2016-07-04

3.5.21 → 4.x-dev2020-10-07

3.5.23 → 4.0.0-beta12021-08-08

PHP version history (6 changes)2.0.0-beta1PHP &gt;=5.3.10

3.2PHP &gt;=5.5.9

3.5PHP &gt;=7.1.3

4.x-devPHP &gt;=8.0.0

4.1.2PHP &gt;=8.2.0

4.2.0PHP &gt;=8.4.6

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1639206?v=4)[Simon Asika](/maintainers/asika32764)[@asika32764](https://github.com/asika32764)

---

Top Contributors

[![asika32764](https://avatars.githubusercontent.com/u/1639206?v=4)](https://github.com/asika32764 "asika32764 (115 commits)")

---

Tags

containerdependency-injectiondidi-containeriocioc-containersingletonframeworkdiwindwalker

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[windwalker/renderer

Windwalker Renderer package

864.9M25](/packages/windwalker-renderer)[windwalker/edge

Windwalker Edge package

2820.1k10](/packages/windwalker-edge)

PHPackages © 2026

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