Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

FrancoisChaumont/dependency-injector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPENDENCY INJECTOR - easy implementation of dependency injection

GitHub release contributions welcome GitHub issues GitHub stars Github All Releases

Simple PHP package to easily use dependency injectors.

Getting started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Requirements

PHP 7.1+

Installation

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

Testing

Under the folder named tests you will find a test script ready to use and to experiment with. Works in web browser or CLI.

Built with

  • Visual Studio Code

Authors

See also the list of contributors who particpated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Notes

Todo:

  • Improve the constructor (currently does nothing)