subscribo / dependencyresolver
Dependency Resolver for resolving dependencies
v0.1.1
2016-11-25 22:15 UTC
Requires
- php: ^5.4 || ^7.0
Suggests
- laravel/framework: This package have been developed to work with The Laravel Framework.
This package is not auto-updated.
Last update: 2024-11-23 19:53:53 UTC
README
Dependency Resolver for resolving dependencies
Installation
- Add the following to your project's composer.json:
1.1 Repository containing this package (note: you need to have access to this repository as well as to resources it points to)
1.2 Dependency under "require" or "require-dev" keys
"subscribo/dependencyresolver": "0.1.1"
1.3 If you are using Laravel you might want to add
'\\Subscribo\\DependencyResolver\\Integration\\Laravel\\DependencyResolverServiceProvider',
under 'providers' key in app/config/app.php file.
and
"subscribo/serviceprovider": "0.1.1"
under "require" or "require-dev" keys in your composer.json
If used with package 'subscribo/schemabuilder', this step (1.3) is not necessary.
Usage
DependencyResolver::resolve(array $dependencies)