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

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

versalle/container
==================

A PSR-11: Container interface implementation library

v3.0.0(4y ago)02371MITPHPPHP 7.4.\* || 8.0.\*CI failing

Since Mar 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/versalle88/container)[ Packagist](https://packagist.org/packages/versalle/container)[ RSS](/packages/versalle-container/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (7)Dependencies (6)Versions (9)Used By (1)

versalle/container
==================

[](#versallecontainer)

A PSR-11: Container interface implementation library

[![Author](https://camo.githubusercontent.com/ea595f38d511dca17fc4a7f5401aa2a7f51e0d1ce352c8c66643fef97951c3e5/687474703a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d4076657273616c6c6538382d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/versalle88)[![Latest Version](https://camo.githubusercontent.com/bef9934c8082883ad91c036ac5a180f23f7655f4c11df620ca9db9ab02d68d08/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f76657273616c6c6538382f636f6e7461696e65722e7376673f7374796c653d666c61742d737175617265)](https://github.com/versalle88/container/releases)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/06896a6b0e9a5447796db7cc0a4b315b3770c4b694c408846217a5c755b58df4/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f76657273616c6c6538382f636f6e7461696e65722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/versalle88/container)[![Total Downloads](https://camo.githubusercontent.com/01698fdd9729a5d2be50a8cbe4c5adf58e97fbc01cd3c3ac809ce82c2d174ed0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f76657273616c6c652f636f6e7461696e65722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/versalle/container)

This package is compliant with [PSR-1](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md), [PSR-4](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md), [PSR-11](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-11-container.md), and [PSR-12](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-12-extended-coding-style-guide.md). If you notice compliance oversights, please send a patch via pull request.

Install
-------

[](#install)

Via Composer

```
$ composer require versalle/container
```

Requirements
------------

[](#requirements)

The following versions of PHP are supported by this version.

- PHP 7.4
- PHP 8.0

Documentation
-------------

[](#documentation)

TODO

Testing
-------

[](#testing)

```
$ composer test
```

Contributing
------------

[](#contributing)

TODO

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Andrew Versalle](https://github.com/versalle88)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/versalle88/container/blob/master/LICENSE.md) for more information.

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity67

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

Recently: every ~171 days

Total

7

Last Release

1568d ago

Major Versions

v0.1.0-beta → v1.0.02020-03-12

v1.1.0 → v2.0.02020-04-25

v2.2.0 → v3.0.02022-01-31

PHP version history (4 changes)v0.1.0-betaPHP 7.2.\* || 7.3.\* || 7.4.\*

v2.1.0PHP 7.2.\* || 7.3.\* || 7.4.\* || 8.0.\*

v2.2.0PHP 7.2.\* || 7.3.\* || 7.4.\* || 8.0.\* || 8.1.\*

v3.0.0PHP 7.4.\* || 8.0.\*

### Community

Maintainers

![](https://www.gravatar.com/avatar/031406857f4b5046eaf7bf7cac1f1262c0b90cf423e4344e1b475313add91ec3?d=identicon)[versalle88](/maintainers/versalle88)

---

Top Contributors

[![versalle88](https://avatars.githubusercontent.com/u/7907919?v=4)](https://github.com/versalle88 "versalle88 (72 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/versalle-container/health.svg)](https://phpackages.com/packages/versalle-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)
