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

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

psychob/dependency-injection
============================

simple dependency injection library

0.7.1(6y ago)048[1 issues](https://github.com/psychob/dependency-injection/issues)[1 PRs](https://github.com/psychob/dependency-injection/pulls)MPL-2.0PHPPHP ^7.2

Since Jun 19Pushed 6y agoCompare

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

READMEChangelogDependencies (6)Versions (11)Used By (0)

Dependency Injection Framework
------------------------------

[](#dependency-injection-framework)

(c) by Andrzej Budzanowski

[![Maintainability](https://camo.githubusercontent.com/d706643acd2108097efe5ff82694c9a945e006476ef85e47c7a11e46cb941c64/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f39373065656433373861633361666638356162382f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/psychob/dependency-injection/maintainability) [![Test Coverage](https://camo.githubusercontent.com/c84fa605de3f20a285fcb9d33a79aa40aafad1df8e69ce91df446dd5d40e2579/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f39373065656433373861633361666638356162382f746573745f636f766572616765)](https://codeclimate.com/github/psychob/dependency-injection/test_coverage) [![Build Status](https://camo.githubusercontent.com/e18bb18603db07d913c5bc0335b5df937ee2d4b117db642c331aa817413cee88/68747470733a2f2f7472617669732d63692e6f72672f70737963686f622f646570656e64656e63792d696e6a656374696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/psychob/dependency-injection)

Brief
-----

[](#brief)

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

[](#installation)

Use composer:

```
composer require psychob/dependency-injection
```

Usage
-----

[](#usage)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

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.

###  Release Activity

Cadence

Every ~2 days

Total

9

Last Release

2507d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/196d7a06a111694db272e50fd2fb583cfdb71c5b46f6b7bb2b09e45f61ccc438?d=identicon)[psychob](/maintainers/psychob)

---

Top Contributors

[![psychob](https://avatars.githubusercontent.com/u/1288577?v=4)](https://github.com/psychob "psychob (15 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[illuminate/session

The Illuminate Session package.

9937.4M753](/packages/illuminate-session)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

96374.6k23](/packages/friendsoftypo3-content-blocks)[symfony/object-mapper

Provides a way to map an object to another object

34885.7k18](/packages/symfony-object-mapper)[hyperf/di

A DI for Hyperf.

182.8M594](/packages/hyperf-di)[shyim/danger-php

Port of danger to PHP

8544.9k](/packages/shyim-danger-php)

PHPackages © 2026

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