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

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

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

Super simple dependency injection container for php

1.3.0(3mo ago)02.9k—7.1%[1 issues](https://github.com/phespro/container/issues)1MITPHPPHP ^8.4

Since Aug 26Pushed 3mo ago1 watchersCompare

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

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.

- LOC &lt; 300
- 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:

```
