Container (Dependency Injection)

小而强大的依赖注入容器。「Small but powerful dependency injection container」

Container (Dependency Injection)

Author
Latest Version
Software License
Build Status
Coverage Status
Quality Score
Total Downloads

This package is compliant with PSR-1, PSR-2, PSR-4 and PSR-11. 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 7.0
  • PHP 7.1
  • PHP 7.2
  • PHP 7.3

Documentation

Container has full documentation, powered by Jekyll.

Contribute to this documentation in the docs/ sub-directory.

Testing

$ 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

All Orno\Di contributions can be found here.

License

The MIT License (MIT). Please see License File for more information.

主要指标

概览
名称与所有者thephpleague/container
主编程语言PHP
编程语言PHP (语言数: 1)
平台
许可证MIT License
所有者活动
创建于2015-01-12 10:22:38
推送于2025-06-12 19:27:23
最后一次提交
发布数45
最新版本名称5.1.0 (发布于 2025-05-28 08:38:57)
第一版名称1.0.0 (发布于 2015-01-12 12:35:19)
用户参与
星数854
关注者数21
派生数103
提交数477
已启用问题?
问题数130
打开的问题数1
拉请求数109
打开的拉请求数0
关闭的拉请求数34
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?