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

ActiveLibrary

tleckie/di
==========

Simple PSR-11 dependency injection container

1.0.4(5y ago)06MITPHPPHP ^8

Since Apr 17Pushed 5y ago1 watchersCompare

[ Source](https://github.com/teodoroleckie/di)[ Packagist](https://packagist.org/packages/tleckie/di)[ Docs](https://github.com/teodoroleckie/di)[ RSS](/packages/tleckie-di/feed)WikiDiscussions master Synced 6d ago

READMEChangelog (5)Dependencies (6)Versions (6)Used By (0)

### Di:

[](#di)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c116e25d4881393a5798139564856a9b0f2db252ff1125bb5c53b53734098907/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746c65636b69652f64692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tleckie/di)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/278151ab4563a1fb9b90711f0963127a98eef9bd11b728ebbda8d52921538cba/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f74656f646f726f6c65636b69652f64692f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/teodoroleckie/di/?branch=master)[![Build Status](https://camo.githubusercontent.com/bd2f018348abf7bb6136f94c603e4375f1163bc0e3ac786c111501083f53250d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f74656f646f726f6c65636b69652f64692f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/teodoroleckie/di/build-status/master)[![Total Downloads](https://camo.githubusercontent.com/94cf66dc3633bd9a2e988f776d7257aa1a281646d001e69c7f210ac70702d9f7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746c65636b69652f64692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tleckie/di)

You can install the package via composer:

```
composer require tleckie/di
```

```
