PHPackages                             devorto/dependency-injection - 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. devorto/dependency-injection

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

devorto/dependency-injection
============================

DependencyInjection for classes.

4.0.0(1y ago)02.3kMITPHPPHP ^8.3.0

Since Jul 28Pushed 1y ago1 watchersCompare

[ Source](https://github.com/devorto/dependency-injection)[ Packagist](https://packagist.org/packages/devorto/dependency-injection)[ RSS](/packages/devorto-dependency-injection/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (1)Versions (17)Used By (0)

Dependency Injection
====================

[](#dependency-injection)

Simple dependency injection class load a new class with dependencies by calling `DependencyInjection::instantiate()`

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity82

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

Recently: every ~301 days

Total

16

Last Release

573d ago

Major Versions

1.4.0 → 2.0.02019-11-10

2.0.5 → 3.0.02024-03-24

3.0.0 → 4.0.02024-11-27

PHP version history (4 changes)1.0.0PHP ^7.1

2.0.0PHP ^7.1.0

2.0.3PHP ^7.1.0||^8.0.0

4.0.0PHP ^8.3.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/24296803?v=4)[Devorto](/maintainers/devorto)[@devorto](https://github.com/devorto)

---

Top Contributors

[![GeoffreyDijkstra](https://avatars.githubusercontent.com/u/17547877?v=4)](https://github.com/GeoffreyDijkstra "GeoffreyDijkstra (19 commits)")

### Embed Badge

![Health badge](/badges/devorto-dependency-injection/health.svg)

```
[![Health](https://phpackages.com/badges/devorto-dependency-injection/health.svg)](https://phpackages.com/packages/devorto-dependency-injection)
```

###  Alternatives

[symfony/runtime

Enables decoupling PHP applications from global state

74694.9M938](/packages/symfony-runtime)[unleash/symfony-client-bundle

37490.8k](/packages/unleash-symfony-client-bundle)[mekras/botobor

PHP antispam library

2136.0k](/packages/mekras-botobor)[bymayo/commerce-widgets

Insightful dashboard widgets for your Craft Commerce store.

3311.6k](/packages/bymayo-commerce-widgets)

PHPackages © 2026

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