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

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

luoluolzb/di
============

luoluolzb's Dependency Injection Container

1.0.1(6y ago)0351MITPHPPHP &gt;=7.2

Since Jul 25Pushed 6y agoCompare

[ Source](https://github.com/luoluolzb/di)[ Packagist](https://packagist.org/packages/luoluolzb/di)[ Docs](https://github.com/luoluolzb/DI)[ RSS](/packages/luoluolzb-di/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (3)Used By (1)

DI
==

[](#di)

一个简单而实用的`psr-11`依赖注入容器。 A simple dependency injection container for psr-11.

安装
--

[](#安装)

使用 `composer` 安装：

```
composer require luoluolzb/di

```

使用
--

[](#使用)

### 实例化

[](#实例化)

使用容器之前需要实例化：

```
