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

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

lord2800/di.php
===============

A dependency injector, rather than a container or service locator.

143PHP

Since Aug 30Pushed 11y ago1 watchersCompare

[ Source](https://github.com/lord2800/di.php)[ Packagist](https://packagist.org/packages/lord2800/di.php)[ RSS](/packages/lord2800-diphp/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

di.php
======

[](#diphp)

[![Build Status](https://camo.githubusercontent.com/740affd3f4927f4ec3d5e1363e2a56827bdd46e61d2c733aa57498c12eefd1fe/68747470733a2f2f7472617669732d63692e6f72672f6c6f7264323830302f64692e7068702e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/lord2800/di.php)

[Documentation](http://lord2800.github.io/di.php/) | [Code Coverage](http://lord2800.github.io/di.php/coverage/)

Dependency injector for PHP. Compatible with [Container Interop](https://github.com/container-interop/container-interop).

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/715922?v=4)[Jeff Hubbard](/maintainers/lord2800)[@lord2800](https://github.com/lord2800)

---

Top Contributors

[![lord2800](https://avatars.githubusercontent.com/u/715922?v=4)](https://github.com/lord2800 "lord2800 (54 commits)")

### Embed Badge

![Health badge](/badges/lord2800-diphp/health.svg)

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

###  Alternatives

[silverstripe/subsites

Run multiple sites from a single SilverStripe install.

64397.9k21](/packages/silverstripe-subsites)[ayesh/php-timer

High-resolution and monotonic stop-watch for all your needs. Supports timer start, pause, resume, stop, read, and minimal conversion.

22232.8k12](/packages/ayesh-php-timer)[suarez/laravel-utm-parameter

A little helper to store and handle utm-parameter

1515.8k](/packages/suarez-laravel-utm-parameter)

PHPackages © 2026

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