strident/phimple
Composer 安装命令:
composer require strident/phimple
包简介
Simple dependency injection container, inspired by Pimple.
关键字:
README 文档
README
Phimple is an extremely lightweight dependency injection container, heavily inspired by Pimple.
##Installation
Phimple is available as a Composer package. It can be included in your project by running the following command:
$ composer require strident/phimple ~2.0
##Usage
Phimple is easy to get going with (just like Pimple really):
use Phimple\Container; $container = new Container();
Phimple differs from Pimple internally in some ways, and also in it's API. The API change was the main reason I decided to develop Phimple. There are 2 concepts; services and parameters.
统计信息
- 总下载量: 330
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2014-05-08