slick/di
最新稳定版本:v2.10.0
Composer 安装命令:
composer require slick/di
包简介
Slick package for dependency injection container.
README 文档
README
slick/di is an easy dependency injection container for PHP 8.0+.
It aims to be very lightweight and tries to remove a lot of the guessing and magic stuff that dependency containers use those days.
It also allows you to nest containers witch can become very useful if you have several packages that you reuse in your applications, allowing you to define containers with default dependencies in those packages for later override and usage them in your application.
This package is compliant with PSR-2 code standards and PSR-4 autoload standards. It also applies the semantic version 2.0.0 specification.
Install
Via Composer
$ composer require slick/di
Usage
Please read slick/orm documentation at https://www.slick-framework.com/documentation/dependency-injection.html
Testing
We use Behat to describe features and for acceptance tests and PHPSpec for unit testing.
# unit tests $ vendor/bin/phpspec # acceptance tests $ vendor/bin/behat
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email slick.framework@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 7.03k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 5
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-12-14