brenoroosevelt/habemus
Composer 安装命令:
composer require brenoroosevelt/habemus
包简介
PSR-11 Container for Dependency Injection (auto-wiring, attributes, factories, closures, array access)
关键字:
README 文档
README
Habemus is a PSR-11 compatible dependency injection container. This package provides autowiring to implement Inversion of Control (IoC) containers for PHP.
Features
Habemus supports:
- PSR-11 compatible.
- Auto wiring (recursively through all dependencies)
- Constructor injection.
- Setter injection.
- Property/constructor injection using PHP 8 Attributes.
- Circular dependency detection.
- Interfaces, Factories, Closures, Callbacks.
- Delegated containers.
- Container composite.
- Service providers and lazy service providers.
- Taggable services.
- Shareable instances.
- Variadic arguments in the constructor.
- Aliasing.
- Array Access.
Requirements
This package supports the following versions of PHP:
- PHP 7.1
- PHP 7.2
- PHP 7.3
- PHP 7.4
- PHP 8.0
Install
Via Composer
$ composer require brenoroosevelt/habemus
Documentation
Read the full documentation.
Contributing
Please read the Contributing guide to learn about contributing to this project.
License
This project is licensed under the terms of the MIT license. See the LICENSE file for license rights and limitations.
统计信息
- 总下载量: 752
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 4
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2021-03-19