PHPackages                             bnf/di - 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. bnf/di

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

bnf/di
======

Dependency injection container with PSR-11 and container-interop/service-provider support

0.1.3(7y ago)01.6k4GPL-2.0+PHPPHP ^7.0

Since Mar 11Pushed 1y ago1 watchersCompare

[ Source](https://github.com/bnf/di)[ Packagist](https://packagist.org/packages/bnf/di)[ RSS](/packages/bnf-di/feed)WikiDiscussions main Synced 3d ago

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

PSR-11+ Dependency Injection Container
======================================

[](#psr-11-dependency-injection-container)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/28714791832092e04ef4c5027edd10d7545f297cf8dc7cbf9952f5a86332f99e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f626e662f64692f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bnf/di/?branch=master)[![Build Status](https://camo.githubusercontent.com/9c01c37f19d296a40b2826b26704bff6962f30f8a132b6dedd7260552833fe68/68747470733a2f2f6170692e7472617669732d63692e6f72672f626e662f64692e706e67)](https://travis-ci.org/bnf/di)[![Coverage Status](https://camo.githubusercontent.com/54704da730ad31467b677f2028922441fd5f953bf52df75240f05fefc60e58d3/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f626e662f64692f62616467652e737667)](https://coveralls.io/github/bnf/di)

Provides [PSR-11](www.php-fig.org/psr/psr-11/) and [container-interop/service-provider](https://github.com/container-interop/service-provider) support.

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

[](#installation)

```
$ composer require bnf/di:~0.1.0
```

Usage
-----

[](#usage)

```
