Simple PHP package to easily use dependency injectors.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
PHP 7.1+
Install this package with composer by simply adding the following to your composer.json file:
"repositories": [
{
"url": "https://github.com/FrancoisChaumont/dependency-injector.git",
"type": "git"
}
]
and running the following command:
composer require francoischaumont/dependency-injector
Under the folder named tests you will find a test script ready to use and to experiment with. Works in web browser or CLI.
- Visual Studio Code
- Francois Chaumont - Initial work - FrancoisChaumont
See also the list of contributors who particpated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details.
Todo:
- Improve the constructor (currently does nothing)