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

ActiveLibrary

phespro/container
=================

Super simple dependency injection container for php

1.3.0(2mo ago)01.9k↓33.3%[1 issues](https://github.com/phespro/container/issues)1MITPHPPHP ^8.4

Since Aug 26Pushed 2y ago1 watchersCompare

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

READMEChangelogDependencies (6)Versions (10)Used By (1)

[![Build Status](https://camo.githubusercontent.com/8153732016b5beaa906ecc31f0cfa21ecb696b2e6f6371adfe7b19667eb43bf3/68747470733a2f2f7472617669732d63692e6f72672f7068657370726f2f636f6e7461696e65722e7376673f6272616e63683d6d61696e)](https://travis-ci.org/phespro/container)

phespro/container
=================

[](#phesprocontainer)

Super simple dependency injection container for php.

- Only 121 lines of code
- No cache required
- Includes tagging and decorating
- 100% line coverage &amp; 100% mutation coverage
- Implements PSR-11

Usage
-----

[](#usage)

Install it:

```
composer require phespro/container

```

Create it:

```
