PHPackages                             ofmadsen/taupe - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ofmadsen/taupe

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ofmadsen/taupe
==============

Dependency Injector for PHP

014PHP

Since Feb 15Pushed 9y ago1 watchersCompare

[ Source](https://github.com/ofmadsen/taupe)[ Packagist](https://packagist.org/packages/ofmadsen/taupe)[ RSS](/packages/ofmadsen-taupe/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Taupe
=====

[](#taupe)

Taupe is a Dependency Injector for PHP.

[![Build Status](https://camo.githubusercontent.com/06f4de00d72f283babe097dde32d1f237fb789a263ff98b0e4830b80e4478467/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6f666d616473656e2f74617570652e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/ofmadsen/taupe)[![Codacy coverage](https://camo.githubusercontent.com/12ef5e29a513b6887427792af61a0817b3f49b1552f3735fb66a2a614857da26/68747470733a2f2f696d672e736869656c64732e696f2f636f646163792f636f7665726167652f34353630313438313436373434666262616162653636346531396163356638302e7376673f7374796c653d666c61742d737175617265)](https://www.codacy.com/app/ofmadsen/taupe)[![Codacy Badge](https://camo.githubusercontent.com/c9a83044975c6c5402eda5ce1583e30c6e405da75b15db2dcebb7f9812910e21/68747470733a2f2f696d672e736869656c64732e696f2f636f646163792f67726164652f34353630313438313436373434666262616162653636346531396163356638302e7376673f7374796c653d666c61742d737175617265)](https://www.codacy.com/app/ofmadsen/taupe)

Installation
------------

[](#installation)

Install the latest version with:

```
$ composer require ofmadsen/taupe
```

Features
--------

[](#features)

- Constructor dependency injection instantiation
- Method dependency injection instantiation
- Support default values for scalar values
- Blueprints for non-resolvable dependencies

Basic usage
-----------

[](#basic-usage)

Constructor dependency

Method dependency

Blueprints
----------

[](#blueprints)

Contribution
------------

[](#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
-------

[](#license)

Taupe is available under the MIT License - see the [`LICENSE`](LICENSE) file for details.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2144803?v=4)[Oliver Finn Madsen](/maintainers/ofmadsen)[@ofmadsen](https://github.com/ofmadsen)

---

Top Contributors

[![ofmadsen](https://avatars.githubusercontent.com/u/2144803?v=4)](https://github.com/ofmadsen "ofmadsen (16 commits)")

### Embed Badge

![Health badge](/badges/ofmadsen-taupe/health.svg)

```
[![Health](https://phpackages.com/badges/ofmadsen-taupe/health.svg)](https://phpackages.com/packages/ofmadsen-taupe)
```

###  Alternatives

[lezhnev74/pasvl

Array Validator (regular expressions for nested array, sort of)

5256.5k3](/packages/lezhnev74-pasvl)[tcb13/substringy

A sub string manipulation library with multibyte support that extends Stringy

1760.9k1](/packages/tcb13-substringy)[nystudio107/craft-recipe

A comprehensive recipe FieldType for Craft CMS that includes metric/imperial conversion, portion calculation, and JSON-LD microdata support

266.4k](/packages/nystudio107-craft-recipe)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
