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

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

autarky/container
=================

Service and dependency injection container.

1.1.1(10y ago)29291MITPHP

Since Feb 18Pushed 9y ago2 watchersCompare

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

READMEChangelog (3)Dependencies (2)Versions (8)Used By (1)

Autarky Container
=================

[](#autarky-container)

[![Build Status](https://camo.githubusercontent.com/bd87b505d1beb68caa1cbaec432a642cbd28b2d4fde31ff77fd20d1f02bd869c/68747470733a2f2f7472617669732d63692e6f72672f61757461726b792f636f6e7461696e65722e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/autarky/container)[![Latest Stable Version](https://camo.githubusercontent.com/de40855d55fe8d9462994d00bf9b04a22671b25f9527d10b274ba5e71748a93d/68747470733a2f2f706f7365722e707567782e6f72672f61757461726b792f636f6e7461696e65722f762f737461626c652e737667)](https://github.com/autarky/container/releases)[![Latest Unstable Version](https://camo.githubusercontent.com/b91bf5c05fb547b628b4340dfa1ce3282e13daa2688422012d2d6435dcb27683/68747470733a2f2f706f7365722e707567782e6f72672f61757461726b792f636f6e7461696e65722f762f756e737461626c652e737667)](https://github.com/autarky/container/branches/active)[![License](https://camo.githubusercontent.com/7c8a50c726c78be4921b41f1ff83a71a795a8c30e20f81e3f0a695b24c88810e/68747470733a2f2f706f7365722e707567782e6f72672f61757461726b792f636f6e7461696e65722f6c6963656e73652e737667)](http://opensource.org/licenses/MIT)

Service and dependency injection container.

### Installation

[](#installation)

```
composer require autarky/container

```

### Contributing

[](#contributing)

```
git clone https://github.com/autarky/container /path/to/autarky-container
cd /path/to/autarky-container
composer install
phpunit

```

The master branch is the current minor version. Previous minor versions have their own branches. Only critical bugfixes should be applied to these branches.

The develop branch is the next minor version. New features are applied to this branch.

Read the [CONTRIBUTING.md](CONTRIBUTING.md) file for more information.

### License

[](#license)

The contents of this repository is released under the [MIT license](http://opensource.org/licenses/MIT). See the [LICENSE](LICENSE) file included for more information.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity68

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

Total

5

Last Release

3841d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/48f62855097c02888b96494da9a389988cd7ecb9001465f8ec30f15672fb5b5a?d=identicon)[anlutro](/maintainers/anlutro)

---

Top Contributors

[![anlutro](https://avatars.githubusercontent.com/u/163093?v=4)](https://github.com/anlutro "anlutro (21 commits)")

---

Tags

dependency-injectionphpcontainerdependency-injectionautarky

### Embed Badge

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

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

###  Alternatives

[pimple/pimple

Pimple, a simple Dependency Injection Container

2.7k130.5M1.4k](/packages/pimple-pimple)[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)[acclimate/container

Provides adapters for various third-party service containers.

219390.6k15](/packages/acclimate-container)[mrclay/props-dic

Props is a simple DI container that allows retrieving values via custom property and method names

3611.7M3](/packages/mrclay-props-dic)[slince/di

A flexible dependency injection container

20260.4k6](/packages/slince-di)

PHPackages © 2026

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