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

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

piotrek-r/container
===================

Simple implementation of PSR-11: Container interface

1.0.0(1y ago)16MITPHPPHP ^8.3CI passing

Since Mar 19Pushed 1y ago1 watchersCompare

[ Source](https://github.com/piotrek-r/php-container)[ Packagist](https://packagist.org/packages/piotrek-r/container)[ RSS](/packages/piotrek-r-container/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

Simple implementation of [PSR-11: Container interface](https://www.php-fig.org/psr/psr-11/)
===========================================================================================

[](#simple-implementation-of-psr-11-container-interface)

This project was created for personal use and is designed to be as straightforward as possible and without any third-party dependencies. Feel free to use it as you wish.

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

[](#installation)

### Using composer

[](#using-composer)

```
composer install piotrek-r/container
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance45

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Unknown

Total

1

Last Release

423d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/02a5d5ea338f15d7126af23f04ecc8ddd5520967e37b86a9fa14b82950ac03b1?d=identicon)[piotrek-r](/maintainers/piotrek-r)

---

Top Contributors

[![piotrek-r](https://avatars.githubusercontent.com/u/1093710?v=4)](https://github.com/piotrek-r "piotrek-r (3 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[pimple/pimple

Pimple, a simple Dependency Injection Container

2.7k130.5M1.4k](/packages/pimple-pimple)[league/container

A fast and intuitive dependency injection container.

86387.8M343](/packages/league-container)[lctrs/psalm-psr-container-plugin

Let Psalm understand better psr11 containers

17648.1k13](/packages/lctrs-psalm-psr-container-plugin)[phpwatch/simple-container

A fast and minimal PSR-11 compatible Dependency Injection Container with array-syntax and without auto-wiring

1810.1k2](/packages/phpwatch-simple-container)

PHPackages © 2026

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