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

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

long/container
==============

DI Container

1.0.6(6y ago)0272MITPHPPHP &gt;=7.2

Since Dec 17Pushed 5y ago1 watchersCompare

[ Source](https://github.com/sinpe/php-container)[ Packagist](https://packagist.org/packages/long/container)[ Docs](https://github.com/sinpe/php-container)[ RSS](/packages/long-container/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (2)Versions (9)Used By (2)

DI Container
============

[](#di-container)

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

[](#installation)

composer:

```
composer require long/container
```

PHP 7.2 or newer.

Examples
--------

[](#examples)

```
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity61

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

Total

8

Last Release

2446d ago

Major Versions

0.0.2 → 1.0.12018-12-26

PHP version history (2 changes)1.0.0PHP &gt;=7.1.3

1.0.6PHP &gt;=7.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/2868860be40a3a756a100c8896c7819dc61730e5e63a1ec4c433b70c4ef686ab?d=identicon)[sinpe](/maintainers/sinpe)

---

Top Contributors

[![sinpe](https://avatars.githubusercontent.com/u/3377272?v=4)](https://github.com/sinpe "sinpe (25 commits)")

---

Tags

container

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

The dependency injection container for humans

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

A serializable dependency injection container with constructor and setter injection, interface and trait awareness, configuration inheritance, and much more.

356968.3k58](/packages/aura-di)[league/tactician-container

Tactician integration for any container implementing PSR-11

7710.1M23](/packages/league-tactician-container)[acclimate/container

Provides adapters for various third-party service containers.

219390.6k15](/packages/acclimate-container)

PHPackages © 2026

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