PHPackages                             othercode/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. othercode/container

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

othercode/container
===================

Very lightweight dependency injection container.

v1.0.0(8y ago)115[1 PRs](https://github.com/othercodes/container/pulls)MITPHPPHP &gt;=5.5

Since Oct 8Pushed 1y ago1 watchersCompare

[ Source](https://github.com/othercodes/container)[ Packagist](https://packagist.org/packages/othercode/container)[ RSS](/packages/othercode-container/feed)WikiDiscussions master Synced 2mo ago

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

Container
=========

[](#container)

[![Build Status](https://camo.githubusercontent.com/589f214e307f8a63a5a410b488e68cd4fe92bd5b26eb46bceee3aad2ec64c002/68747470733a2f2f7472617669732d63692e6f72672f6f74686572636f6465732f636f6e7461696e65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/othercodes/container) [![Latest Stable Version](https://camo.githubusercontent.com/fcfb45e51f666ab6efd9b16a71e0f69cd1688329277f6c1cfadbb1493e91b64c/68747470733a2f2f706f7365722e707567782e6f72672f6f74686572636f64652f636f6e7461696e65722f762f737461626c65)](https://packagist.org/packages/othercode/container) [![License](https://camo.githubusercontent.com/52a5e6ae4af78ca1ab197faf0f98b23836e6d006728d3e84f5e46f8380574918/68747470733a2f2f706f7365722e707567782e6f72672f6f74686572636f64652f636f6e7461696e65722f6c6963656e7365)](https://packagist.org/packages/othercode/container)

Very lightweight dependency injection container

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance27

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% 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

3141d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7958790dcf5cd51ebbadc52fc7bada326fb3edd4481decf1006e6cfed8e46c43?d=identicon)[usantisteban](/maintainers/usantisteban)

---

Top Contributors

[![othercodes](https://avatars.githubusercontent.com/u/4815856?v=4)](https://github.com/othercodes "othercodes (5 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")

---

Tags

containerdependency-injectionservice-container

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[symfony/dependency-injection

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

4.2k431.1M7.5k](/packages/symfony-dependency-injection)[illuminate/contracts

The Illuminate Contracts package.

704122.9M10.1k](/packages/illuminate-contracts)[illuminate/container

The Illuminate Container package.

31278.1M2.0k](/packages/illuminate-container)[ecotone/ecotone

Supporting you in building DDD, CQRS, Event Sourcing applications with ease.

558549.8k17](/packages/ecotone-ecotone)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

728272.9k20](/packages/civicrm-civicrm-core)[internal/dload

Downloads binaries.

98142.7k10](/packages/internal-dload)

PHPackages © 2026

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