PHPackages                             psr/container - 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. psr/container

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

psr/container
=============

Common Container Interface (PHP FIG PSR-11)

2.0.2(4y ago)10.0k1.0B—3.7%53[3 issues](https://github.com/php-fig/container/issues)[2 PRs](https://github.com/php-fig/container/pulls)20MITPHPPHP &gt;=7.4.0

Since Feb 14Pushed 3mo ago23 watchersCompare

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

READMEChangelog (7)DependenciesVersions (11)Used By (20)

Container interface
===================

[](#container-interface)

This repository holds all interfaces related to [PSR-11 (Container Interface)](https://www.php-fig.org/psr/psr-11/).

Note that this is not a Container implementation of its own. It is merely abstractions that describe the components of a Dependency Injection Container.

The installable [package](https://packagist.org/packages/psr/container) and [implementations](https://packagist.org/providers/psr/container-implementation) are listed on Packagist.

###  Health Score

69

—

FairBetter than 100% of packages

Maintenance54

Moderate activity, may be stable

Popularity86

Widely adopted with strong download metrics

Community62

Healthy contributor diversity

Maturity69

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~61 days

Total

9

Last Release

1655d ago

Major Versions

1.1.0 → 2.0.02021-03-05

1.1.1 → 2.0.12021-03-24

PHP version history (3 changes)1.0.0PHP &gt;=5.3.0

1.1.0PHP &gt;=7.2.0

2.0.2PHP &gt;=7.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/b93dc5a9591fbfe3ead8b344eeddb3a8b10191e3696afcc93bed806629c2d724?d=identicon)[fig](/maintainers/fig)

![](https://avatars.githubusercontent.com/u/1104771?v=4)[mouf](/maintainers/mouf)[@Mouf](https://github.com/Mouf)

![](https://www.gravatar.com/avatar/329a6111724074f5388e95dd41a03ccf3c43f4bfe1ecf27c94c9efc6f7823228?d=identicon)[mnapoli](/maintainers/mnapoli)

---

Top Contributors

[![mnapoli](https://avatars.githubusercontent.com/u/720328?v=4)](https://github.com/mnapoli "mnapoli (66 commits)")[![moufmouf](https://avatars.githubusercontent.com/u/1290952?v=4)](https://github.com/moufmouf "moufmouf (44 commits)")[![Ocramius](https://avatars.githubusercontent.com/u/154256?v=4)](https://github.com/Ocramius "Ocramius (12 commits)")[![weierophinney](https://avatars.githubusercontent.com/u/25943?v=4)](https://github.com/weierophinney "weierophinney (10 commits)")[![Jean85](https://avatars.githubusercontent.com/u/6729988?v=4)](https://github.com/Jean85 "Jean85 (8 commits)")[![jeremeamia](https://avatars.githubusercontent.com/u/107867?v=4)](https://github.com/jeremeamia "jeremeamia (4 commits)")[![michaelcullum](https://avatars.githubusercontent.com/u/211740?v=4)](https://github.com/michaelcullum "michaelcullum (4 commits)")[![shochdoerfer](https://avatars.githubusercontent.com/u/596449?v=4)](https://github.com/shochdoerfer "shochdoerfer (4 commits)")[![mindplay-dk](https://avatars.githubusercontent.com/u/103348?v=4)](https://github.com/mindplay-dk "mindplay-dk (3 commits)")[![gnumoksha](https://avatars.githubusercontent.com/u/696797?v=4)](https://github.com/gnumoksha "gnumoksha (3 commits)")[![kocsismate](https://avatars.githubusercontent.com/u/6057627?v=4)](https://github.com/kocsismate "kocsismate (2 commits)")[![BafS](https://avatars.githubusercontent.com/u/588205?v=4)](https://github.com/BafS "BafS (2 commits)")[![Sam-Burns](https://avatars.githubusercontent.com/u/6594039?v=4)](https://github.com/Sam-Burns "Sam-Burns (2 commits)")[![codeeverything](https://avatars.githubusercontent.com/u/9589226?v=4)](https://github.com/codeeverything "codeeverything (2 commits)")[![AndrewCarterUK](https://avatars.githubusercontent.com/u/6486835?v=4)](https://github.com/AndrewCarterUK "AndrewCarterUK (1 commits)")[![localheinz](https://avatars.githubusercontent.com/u/605483?v=4)](https://github.com/localheinz "localheinz (1 commits)")[![Maks3w](https://avatars.githubusercontent.com/u/1301698?v=4)](https://github.com/Maks3w "Maks3w (1 commits)")[![mbunge](https://avatars.githubusercontent.com/u/395518?v=4)](https://github.com/mbunge "mbunge (1 commits)")[![snapshotpl](https://avatars.githubusercontent.com/u/312655?v=4)](https://github.com/snapshotpl "snapshotpl (1 commits)")[![chalasr](https://avatars.githubusercontent.com/u/7502063?v=4)](https://github.com/chalasr "chalasr (1 commits)")

---

Tags

psrcontainercontainer-interopPSR-11container-interface

### Embed Badge

![Health badge](/badges/psr-container/health.svg)

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

###  Alternatives

[php-di/php-di

The dependency injection container for humans

2.8k48.9M994](/packages/php-di-php-di)

PHPackages © 2026

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