Download the PHP package hyperf-helper/dependency without Composer
On this page you can find all versions of the php package hyperf-helper/dependency. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download hyperf-helper/dependency
More information about hyperf-helper/dependency
Files in hyperf-helper/dependency
Download hyperf-helper/dependency
More information about hyperf-helper/dependency
Files in hyperf-helper/dependency
Vendor hyperf-helper
Package dependency
Short Description hyperf hylper dependency
License MIT
Homepage https://github.com/lazychanger/hyperf-helper-dependency
Package dependency
Short Description hyperf hylper dependency
License MIT
Homepage https://github.com/lazychanger/hyperf-helper-dependency
Please rate this library. Is it a good library?
Informations about the package dependency
hyperf-helper/dependency
Badges
Introduction
Easy, simple and elegant way to add dependencies in Hyperf
Start
Annotation Params
name | type | default | comment |
---|---|---|---|
identifier | string |
'' | Dependency identifier. if empty, default value is the annotation className |
priority | int | 1 | If there are multiple identical Dependency identifiers, the one with the highest priority will be selected |
How to use
-
We need to add dependencies collected from
DependencyCollector
toContainer
-
Use
Dependency
to annotate the dependent class you want to define - Happy using
Inject
everywhere
All versions of dependency with dependencies
PHP Build Version
Package Version
The package hyperf-helper/dependency contains the following files
Loading the files please wait ....