league/container
最新稳定版本:5.1.0
Composer 安装命令:
composer require league/container
包简介
A fast and intuitive dependency injection container.
README 文档
README
This package is compliant with PSR-1, PSR-2, PSR-12, PSR-4, PSR-11 and PSR-12. If you notice compliance oversights, please send a patch via pull request.
Install
Via Composer
composer require league/container
Requirements
The following versions of PHP are supported by this version.
- PHP 8.1
- PHP 8.2
- PHP 8.3
- PHP 8.4
Documentation
Container has full documentation, powered by Jekyll.
Contribute to this documentation in the docs/ sub-directory.
Testing
Testing includes PHPUnit and PHPStan (Level 7).
$ composer test
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email philipobenito@gmail.com instead of using the issue tracker.
Credits
- Phil Bennett
- All Contributors
Orno\Dicontributors
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 82.43M
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 902
- 点击次数: 1
- 依赖项目数: 379
- 推荐数: 8
其他信息
- 授权协议: MIT
- 更新时间: 2026-01-04