PHPackages                             appserver-io-psr/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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. appserver-io-psr/di

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

appserver-io-psr/di
===================

PSR, for a PHP based DI container

3.0.0(8y ago)02.5k25OSL-3.0PHPPHP &gt;=5.4.0

Since Dec 1Pushed 8y ago3 watchersCompare

[ Source](https://github.com/appserver-io-psr/di)[ Packagist](https://packagist.org/packages/appserver-io-psr/di)[ Docs](https://github.com/appserver-io-psr/di)[ RSS](/packages/appserver-io-psr-di/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (6)Used By (5)

PSR, for a PHP based DI container
=================================

[](#psr-for-a-php-based-di-container)

[![Latest Stable Version](https://camo.githubusercontent.com/8b06bfae3d95ab218998c42c5f0dcf1fd736fa837c72ce7893671f783d80fdd6/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6170707365727665722d696f2d7073722f64692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/appserver-io-psr/di)[![Total Downloads](https://camo.githubusercontent.com/62d0dd205d96ceace058f6f68e3392b583f93e6285c254dc811588d3a1e96e73/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6170707365727665722d696f2d7073722f64692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/appserver-io-psr/di)[![License](https://camo.githubusercontent.com/deb8e1a7876e9acc33302960bee13e30e7b84fa3f0419cdc96fd5f0a1c1ad32d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6170707365727665722d696f2d7073722f64692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/appserver-io-psr/di)[![Build Status](https://camo.githubusercontent.com/8b86489d77810d0a5c946ed357c7ec8ac3fbd7af1f5ff6cb51c665c02826db5f/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6170707365727665722d696f2d7073722f64692f6d61737465722e7376673f7374796c653d666c61742d737175617265)](http://travis-ci.org/appserver-io-psr/di)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/73e383c67d64fbbc82de944c011ad0ccde18e44c46ee43cb18e01f9187bbb1bf/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6170707365727665722d696f2d7073722f64692f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/appserver-io-psr/di/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/f165b1a21b39a5032295f94f65c488ef2213e635619a1856db3fb0d7c6faade6/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6170707365727665722d696f2d7073722f64692f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/appserver-io-psr/di/?branch=master)

Introduction
------------

[](#introduction)

This library provides all necessary interfaces to implement a PHP base DI container.

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

[](#installation)

If you want to use the library with your application you can install it by adding

```
{
    "require": {
        "appserver-io-psr/di": "dev-master"
    },
}
```

to your `composer.json` and invoke `composer update` in your project.

External Links
==============

[](#external-links)

- Documentation at [appserver.io](http://docs.appserver.io)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Total

4

Last Release

2951d ago

Major Versions

1.0.0 → 2.0.02016-12-01

2.0.1 → 3.0.02018-04-11

### Community

Maintainers

![](https://www.gravatar.com/avatar/76b54aaecf7287a0520eec0009161ca457982dee83ac413bfa0d818b72d79947?d=identicon)[wagnert](/maintainers/wagnert)

---

Top Contributors

[![wagnert](https://avatars.githubusercontent.com/u/287509?v=4)](https://github.com/wagnert "wagnert (27 commits)")

---

Tags

phpdependencyinjectioninterface

### Embed Badge

![Health badge](/badges/appserver-io-psr-di/health.svg)

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

###  Alternatives

[league/container

A fast and intuitive dependency injection container.

86387.8M342](/packages/league-container)[capsule/di

A PSR-11 compliant autowiring dependency injection container.

2857.5k2](/packages/capsule-di)

PHPackages © 2026

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