Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

container

> 编程语言
Open source

Small but powerful dependency injection container

868 stars0 likes2 views
WebsiteGitHub

About

Small but powerful dependency injection container

Container (Dependency Injection)

This package is compliant with PER-CS, PSR-4 and PSR-11. If you notice compliance oversights, please send a patch via pull request.

Install

Via Composer

bash
composer require league/container

Requirements

This version supports the following versions of PHP.

  • PHP 8.3
  • PHP 8.4
  • PHP 8.5

Documentation

Container has full documentation, powered by Jekyll.

Contribute to this documentation in the docs/ subdirectory.

Testing

Testing includes Pest and PHPStan (Level 8).

bash
$ composer test

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security-related issues, please email [email protected] instead of using the issue tracker.

Credits

  • Phil Bennett
  • All Contributors
  • Orno\Di contributors

License

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

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

PHPdependency-injectionphp

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言