PHPackages                             entire-studio/dependency-injection - 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. entire-studio/dependency-injection

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

entire-studio/dependency-injection
==================================

PSR-11 compatible dependency injection container

v1.2.1(7mo ago)171↓100%MITPHPPHP &gt;=8.2CI passing

Since Nov 3Pushed 6d ago1 watchersCompare

[ Source](https://github.com/entire-studio/dependency-injection)[ Packagist](https://packagist.org/packages/entire-studio/dependency-injection)[ RSS](/packages/entire-studio-dependency-injection/feed)WikiDiscussions master Synced today

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

Dependency Injection
====================

[](#dependency-injection)

[![Packagist Version (including pre-releases)](https://camo.githubusercontent.com/e1214fb00bc619bedb0bcc7fcc05ad72de7143edfb3140a8f82c1f223f312fd9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f656e746972652d73747564696f2f646570656e64656e63792d696e6a656374696f6e3f696e636c7564655f70726572656c6561736573)](https://camo.githubusercontent.com/e1214fb00bc619bedb0bcc7fcc05ad72de7143edfb3140a8f82c1f223f312fd9/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f656e746972652d73747564696f2f646570656e64656e63792d696e6a656374696f6e3f696e636c7564655f70726572656c6561736573)[![GitHub release (latest SemVer including pre-releases)](https://camo.githubusercontent.com/5221c71097fcf3be0d51f57cef928d591004589eb292446d0265bcf90579ebde/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f656e746972652d73747564696f2f646570656e64656e63792d696e6a656374696f6e3f696e636c7564655f70726572656c656173657326736f72743d73656d766572)](https://camo.githubusercontent.com/5221c71097fcf3be0d51f57cef928d591004589eb292446d0265bcf90579ebde/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f656e746972652d73747564696f2f646570656e64656e63792d696e6a656374696f6e3f696e636c7564655f70726572656c656173657326736f72743d73656d766572)[![CI](https://github.com/entire-studio/dependency-injection/actions/workflows/ci.yml/badge.svg)](https://github.com/entire-studio/dependency-injection/actions/workflows/ci.yml)[![codecov](https://camo.githubusercontent.com/b8c47e3a5cc4df833ccddce24e4b06fefa8faf06b38e05275ad63d29afead17e/68747470733a2f2f636f6465636f762e696f2f6769746875622f656e746972652d73747564696f2f646570656e64656e63792d696e6a656374696f6e2f6272616e63682f6d61737465722f67726170682f62616467652e7376673f746f6b656e3d4e544f447a5952734358)](https://codecov.io/github/entire-studio/dependency-injection)

PSR-11 compatible dependency injection container

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

[](#installation)

Install the latest version with

```
$ composer require entire-studio/dependency-injection
```

Basic Usage
-----------

[](#basic-usage)

```
