maestroprog / di-container
依赖注入容器的简单实现。
2.0-RC
2018-03-05 21:17 UTC
Requires
- php: >=7.1.0
- psr/container: ^1.0
Requires (Dev)
- phpunit/phpunit: ^6.2
- satooshi/php-coveralls: ^1.0
This package is auto-updated.
Last update: 2024-09-17 01:18:24 UTC
README
依赖注入容器的简单实现。
要求
- >=PHP7.1
安装
- 使用 composer
$ composer require maestroprog/di-container
- 使用 git clone
$ git clone https://github.com/maestroprog/di-container
使用
参见 示例。