Download the PHP package bizley/deep-instantiate without Composer
On this page you can find all versions of the php package bizley/deep-instantiate. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download bizley/deep-instantiate
More information about bizley/deep-instantiate
Files in bizley/deep-instantiate
Download bizley/deep-instantiate
More information about bizley/deep-instantiate
Files in bizley/deep-instantiate
Vendor bizley
Package deep-instantiate
Short Description Deep Instantiator for Yii 2.
License BSD-3-Clause
Package deep-instantiate
Short Description Deep Instantiator for Yii 2.
License BSD-3-Clause
Please rate this library. Is it a good library?
Informations about the package deep-instantiate
Yii 2 Deep Instantiate
This package provides Yii 2 Dependency Injector Container capable of automatically resolving nested constructor interface-typed dependencies.
Requirements
- Yii 2.0.39.3+
- PHP 7.0+
Installation
Usage
Directly - just call new \Bizley\DeepInstantiate\Container()
.
Globally - set \Yii::$container = new \Bizley\DeepInstantiate\Container();
in your entry script.
Enhanced Instantiating
With the original Container:
With Deep Instantiate Container you just need:
For nested dependencies with the original Container:
For nested dependencies with Deep Instantiate Container:
All versions of deep-instantiate with dependencies
PHP Build Version
Package Version
The package bizley/deep-instantiate contains the following files
Loading the files please wait ....