Download the PHP package infuse-di/infuse without Composer
On this page you can find all versions of the php package infuse-di/infuse. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download infuse-di/infuse
More information about infuse-di/infuse
Files in infuse-di/infuse
Download infuse-di/infuse
More information about infuse-di/infuse
Files in infuse-di/infuse
Vendor infuse-di
Package infuse
Short Description A PSR-11 compliant dependency injection library
License MIT
Homepage https://github.com/davisenra/infuse
Package infuse
Short Description A PSR-11 compliant dependency injection library
License MIT
Homepage https://github.com/davisenra/infuse
Please rate this library. Is it a good library?
Informations about the package infuse
![CI](https://github.com/davisenra/infuse/actions/workflows/ci.yml/badge.svg?branch=main)
![Packagist](https://img.shields.io/packagist/v/infuse-di/infuse)
![PHP](https://img.shields.io/packagist/dependency-v/infuse-di/infuse/php)
![License](https://img.shields.io/github/license/davisenra/infuse)
Infuse 🍃
A minimal PSR-11 implementation.
Features
- ✔️ Autowiring (powered by Reflection)
- ✔️ Simple API (only 3 methods)
- ✔️ Container can be built from definitions
- ✔️ Singleton pattern
- ✔️ Detects circular dependencies
- ⏳ Compilable for production
- ⏳ PHPStan generics support for container bindings
Documentation
Infuse has a very minimal API with only has three methods:
Example:
You can also create a ready to use Container from a definitions array:
Installing
The recommended way to install Infuse is through Composer.
Tests
To execute the test suite, you'll need to install all development dependencies.
License
This project is licensed under the MIT license. See License File for more information.
All versions of infuse with dependencies
PHP Build Version
Package Version
The package infuse-di/infuse contains the following files
Loading the files please wait ....