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

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

publishpress/psr-container
==========================

Common Container Interface (PHP FIG PSR-11), prefixed for PublishPress plugins

2.0.2.1(5mo ago)0847↓50%2MITShellPHP &gt;=7.2.5CI failing

Since Apr 12Pushed 3mo ago1 watchersCompare

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

READMEChangelog (10)Dependencies (12)Versions (14)Used By (2)

Prefixed Container interface for PublishPress
=============================================

[](#prefixed-container-interface-for-publishpress)

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

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.

How to update the prefixed library
----------------------------------

[](#how-to-update-the-prefixed-library)

1. Update the version constraint for the original library on the `composer.json` file;
2. Update the version number for this prefixed library in the `composer.json` file with the new version of the original library and the current iteration (4th digit);
3. Run the command `composer update`. The scripts on the `lib` folder will be auto prefixed and the files `include.php` and `Versions.php` class auto generated;
4. Run the tests `composer test` to run tests and make sure the Version class is working properly;
5. Make a manual check in the prefixed library;
6. Commit the changes;
7. Create a new release on GitHub naming it with the original version number and incrementing the fourth digit with the current iteration;

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance76

Regular maintenance activity

Popularity17

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity47

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

Recently: every ~242 days

Total

14

Last Release

117d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/407131?v=4)[Anderson Grüdtner Martins](/maintainers/andergmartins)[@andergmartins](https://github.com/andergmartins)

---

Top Contributors

[![andergmartins](https://avatars.githubusercontent.com/u/407131?v=4)](https://github.com/andergmartins "andergmartins (41 commits)")

---

Tags

psrcontainercontainer-interopPSR-11container-interfacepublishpress

### Embed Badge

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

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

###  Alternatives

[psr/container

Common Container Interface (PHP FIG PSR-11)

10.0k1.0B3.7k](/packages/psr-container)[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)
