Container
Small but powerful dependency injection container
Install / Use
/learn @thephpleague/ContainerREADME
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
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).
$ 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 Licence (MIT). Please see Licence File for more information.
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
