Container (Dependency Injection)

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

Github stars Tracking Chart

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.

Main metrics

Overview
Name With Ownerthephpleague/container
Primary LanguagePHP
Program languagePHP (Language Count: 1)
Platform
License:MIT License
所有者活动
Created At2015-01-12 10:22:38
Pushed At2025-06-12 19:27:23
Last Commit At
Release Count45
Last Release Name5.1.0 (Posted on 2025-05-28 08:38:57)
First Release Name1.0.0 (Posted on 2015-01-12 12:35:19)
用户参与
Stargazers Count854
Watchers Count21
Fork Count103
Commits Count477
Has Issues Enabled
Issues Count130
Issue Open Count1
Pull Requests Count109
Pull Requests Open Count0
Pull Requests Close Count34
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private