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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?