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

AbandonedArchivedLibrary[Framework](/categories/framework)

wandu/di
========

Dependency Injection Container. Support Auto-Resolve and Auto-Wiring. Also Perfect Fit to PSR-11.

v3.0.4(9y ago)73.1k1MITPHPPHP &gt;=5.6

Since May 11Pushed 8y ago1 watchersCompare

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

READMEChangelogDependencies (2)Versions (36)Used By (1)

Wandu DI
========

[](#wandu-di)

[![Latest Stable Version](https://camo.githubusercontent.com/0d0f78a9f3f214b2b3c040f6cf8ad0cf80402f30ae1e0a613fe89bb2528e75d4/68747470733a2f2f706f7365722e707567782e6f72672f77616e64752f64692f762f737461626c652e737667)](https://packagist.org/packages/wandu/di)[![Latest Unstable Version](https://camo.githubusercontent.com/4cf8206bcd4947f81836d1dafc9f634bb0b7925e00b9355925ccf1047682081d/68747470733a2f2f706f7365722e707567782e6f72672f77616e64752f64692f762f756e737461626c652e737667)](https://packagist.org/packages/wandu/di)[![Total Downloads](https://camo.githubusercontent.com/6db0e58732cb6633bd1318b085164dd02e053fc847cb74f265dfe141d52d8f82/68747470733a2f2f706f7365722e707567782e6f72672f77616e64752f64692f646f776e6c6f6164732e737667)](https://packagist.org/packages/wandu/di)[![License](https://camo.githubusercontent.com/0dc3dd5f1ccd3b1a1051d7d05142e9e62f4dd131c8b2022a6be1bab14ae5ec4e/68747470733a2f2f706f7365722e707567782e6f72672f77616e64752f64692f6c6963656e73652e737667)](https://packagist.org/packages/wandu/di)

Dependency Injection Container. Support Auto-Resolve and Auto-Wiring. Also Perfect Fit to PSR-11.

inspired by [pimple](http://pimple.sensiolabs.org) and [Laravel Container](http://laravel.com/docs/5.1/container)

Installation
------------

[](#installation)

```
composer require wandu/di
```

Websites
--------

[](#websites)

- [wandu.github.io/docs/di](https://wandu.github.io/docs/di)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity70

Established project with proven stability

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

Recently: every ~73 days

Total

34

Last Release

3198d ago

Major Versions

1.0.x-dev → v2.0.02015-07-12

2.x-dev → v3.0.0-alpha12016-04-20

3.0.x-dev → v4.0.0-beta12017-06-09

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

v2.3.0PHP &gt;=5.6.0

v3.0.0-alpha1PHP &gt;=7.0.0

v3.0.0-beta4PHP &gt;=5.6

v4.0.0-beta1PHP &gt;=7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b499bc2a487ec730542759876340fb439fe2474ea14f2105ca88f003717d495?d=identicon)[wan2land](/maintainers/wan2land)

---

Tags

dependency-injectiondiiocwanduauto resolveauto wiring

### Embed Badge

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

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

###  Alternatives

[nette/di

💎 Nette Dependency Injection Container: Flexible, compiled and full-featured DIC with perfectly usable autowiring and support for all new PHP features.

92340.6M1.4k](/packages/nette-di)[rdlowrey/auryn

Auryn is a dependency injector for bootstrapping object-oriented PHP applications.

7262.2M76](/packages/rdlowrey-auryn)[mouf/mouf

The Mouf PHP framework: an open-source PHP framework providing an easy way to download, install, use and reuse components, with a graphical user interface.

55146.0k17](/packages/mouf-mouf)[yiisoft/injector

PSR-11 compatible injector. Executes a callable and makes an instances by injecting dependencies from a given DI container.

942.8M38](/packages/yiisoft-injector)[joomla/di

Joomla DI Package

15391.2k11](/packages/joomla-di)[mouf/pimple-interop

This project is a very simple extension to the Pimple microframework. It adds to Pimple compatibility with the container-interop APIs.

102.4M2](/packages/mouf-pimple-interop)

PHPackages © 2026

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