ofmadsen/taupe

Dependency Injector for PHP

dev-master 2017-02-15 20:10 UTC

This package is not auto-updated.

Last update: 2024-09-14 19:04:08 UTC


README

Taupe is a Dependency Injector for PHP.

Build Status Codacy coverage Codacy Badge

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.