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

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

x-wp/di
=======

The dependency injection container for WordPress

v1.9.1(7mo ago)301.1k8GPL-2.0-onlyPHP &gt;=8.0

Since Oct 3Compare

[ Source](https://github.com/x-wp/di)[ Packagist](https://packagist.org/packages/x-wp/di)[ GitHub Sponsors](https://github.com/seebeen)[ RSS](/packages/x-wp-di/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (18)Versions (51)Used By (8)

### README not available

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

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance63

Regular maintenance activity

Popularity29

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity57

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

Recently: every ~24 days

Total

45

Last Release

227d ago

Major Versions

v1.7.5 → v2.0.0-alpha.12025-03-06

v1.7.6 → v2.0.0-alpha.22025-03-20

v1.9.1 → v2.0.0-alpha.92025-10-03

### Community

Maintainers

![](https://www.gravatar.com/avatar/4e3e2c5c2a7213ea8542c27eadd05e03f7b35fda01817c3807c13e1c733bfde5?d=identicon)[oblak](/maintainers/oblak)

---

Tags

wordpressdependency-injectiondihooksfiltersactions

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[tormjens/eventy

The WordPress filter/action system in Laravel

438912.9k16](/packages/tormjens-eventy)[bainternet/php-hooks

A fork of the WordPress filters hook system rolled in to a class to be ported into any PHP-based system

27621.3k2](/packages/bainternet-php-hooks)[voku/php-hooks

A fork of the WordPress filters hook system rolled in to a class to be ported into any PHP-based system

7637.3k3](/packages/voku-php-hooks)[millat/laravel-hooks

The WordPress filter, action system in Laravel

5715.1k](/packages/millat-laravel-hooks)

PHPackages © 2026

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