ofmadsen / taupe
Dependency Injector for PHP
dev-master
2017-02-15 20:10 UTC
Requires
- php: >=5.6.0
Requires (Dev)
- phpunit/phpunit: ^5.2
This package is not auto-updated.
Last update: 2025-02-01 21:09:08 UTC
README
Taupe is a Dependency Injector for PHP.
Installation
Install the latest version with:
$ composer require ofmadsen/taupe
Features
- Constructor dependency injection instantiation
- Method dependency injection instantiation
- Support default values for scalar values
- Blueprints for non-resolvable dependencies
Basic usage
Constructor dependency
Method dependency
Blueprints
Contribution
All are welcome to contribute to Taupe. Please get in touch before making large features and/or major refactoring. Needlessly to say the coding style must be followed and full test coverage is required.
License
Taupe is available under the MIT License - see the LICENSE
file for details.