ofmadsen / taupe
Dependency Injector for PHP
Installs: 14
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/ofmadsen/taupe
Requires
- php: >=5.6.0
Requires (Dev)
- phpunit/phpunit: ^5.2
This package is not auto-updated.
Last update: 2025-10-12 00:36:28 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.