PHPackages                             mindplay/unravel - 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. mindplay/unravel

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

mindplay/unravel
================

implements a middleware stack for modular resolution of parameters to values

07PHP

Since Aug 20Pushed 9y ago1 watchersCompare

[ Source](https://github.com/mindplay-dk/unravel)[ Packagist](https://packagist.org/packages/mindplay/unravel)[ RSS](/packages/mindplay-unravel/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

mindplay/unravel
================

[](#mindplayunravel)

This library implements a middleware stack for modular resolution of parameters to functions, closures, methods and constructors.

[![PHP Version](https://camo.githubusercontent.com/581d3b86ad2a67effa63792b85b18395acbbc26aae6ab4a453ed555677b8761c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d352e342532422d626c75652e737667)](https://packagist.org/packages/mindplay/unravel)[![Build Status](https://camo.githubusercontent.com/405242b1effb98514319bb5805938f614c82b22aedfe4ccb6ef572b9c03903be/68747470733a2f2f7472617669732d63692e6f72672f6d696e64706c61792d646b2f6d6964646c656d616e2e737667)](https://travis-ci.org/mindplay-dk/unravel)[![Code Coverage](https://camo.githubusercontent.com/0d57efbabcae4867399890b71030fdb2bb63dd9edf3df562e60c09f35b1a9457/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d696e64706c61792d646b2f756e726176656c2f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/mindplay-dk/unravel/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/010d7d9c9206103eb50522c17df8d8c5acfe0e0f556d6506e6c258cf41caeef5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6d696e64706c61792d646b2f756e726176656c2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/mindplay-dk/unravel/?branch=master)

You can use this library to implement invokers or factories, in Dependency Injection containers, controller dispatchers in web-frameworks, and so forth.

This library provides components for integration with any [container-interop](https://github.com/container-interop/container-interop)-compliant dependency-injection container, in the form of resolvers (middleware) that resolves either [type-hints](src/resolvers/ContainerTypeResolver.php) or [parameter-names](src/resolvers/ContainerNameResolver.php) against IDs in a container.

### Usage

[](#usage)

Pretty simple, but best explained [by example](test/example.php).

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

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://www.gravatar.com/avatar/9445f567f43ee7a963270651e40e533634586f959e4df3d5398d001b1cb49be8?d=identicon)[mindplay.dk](/maintainers/mindplay.dk)

---

Top Contributors

[![mindplay-dk](https://avatars.githubusercontent.com/u/103348?v=4)](https://github.com/mindplay-dk "mindplay-dk (4 commits)")

### Embed Badge

![Health badge](/badges/mindplay-unravel/health.svg)

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

PHPackages © 2026

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