toandp/di
Composer 安装命令:
composer require toandp/di
包简介
A simple PHP dependency injection container
README 文档
README
PHP tdp/di is a small Dependency Injection Container for PHP.
Installation
Before using PHP tdp/di in your project, add it to your composer.json file:
$ ./composer.phar require toandp/di "^1.0"
Usage
Creating a container is a matter of creating a Container instance:
use tdp\di\Container; $container = new Container();
统计信息
- 总下载量: 4
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-10-08