ofmadsen/taupe

Dependency Injector for PHP

Maintainers

Package info

github.com/ofmadsen/taupe

pkg:composer/ofmadsen/taupe

Statistics

Installs: 14

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

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

This package is not auto-updated.

Last update: 2026-03-15 02:36:07 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.