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)02391MITPHPPHP 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 3w 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 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

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

1614d 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

[symfony/dependency-injection

Allows you to standardize and centralize the way objects are constructed in your application

4.2k455.6M9.6k](/packages/symfony-dependency-injection)[symfony/contracts

A set of abstractions extracted out of the Symfony components

3.9k65.9M138](/packages/symfony-contracts)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k51.2M339](/packages/api-platform-core)[ecotone/ecotone

Enterprise architecture layer for Laravel and Symfony — CQRS, Event Sourcing, Durable Workflows (Sagas, Orchestrators), Projections, and Outbox messaging via PHP attributes.

564576.7k52](/packages/ecotone-ecotone)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[api-platform/state

API Platform state interfaces

274.9M136](/packages/api-platform-state)

PHPackages © 2026

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