PHPackages                             kuyoto/psr15-bridge - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. kuyoto/psr15-bridge

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

kuyoto/psr15-bridge
===================

Provides a PSR-15 middleware double pass decorator.

04PHPCI failing

Since Jun 29Pushed 5y ago1 watchersCompare

[ Source](https://github.com/kuyoto/psr15-bridge)[ Packagist](https://packagist.org/packages/kuyoto/psr15-bridge)[ RSS](/packages/kuyoto-psr15-bridge/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

PSR-15 Decorator for Callable Middleware (double pass)
======================================================

[](#psr-15-decorator-for-callable-middleware-double-pass)

[![Build Status](https://camo.githubusercontent.com/6aeb81e137b4c746d72d3992562521b049043cf1ba779d0c03b3dae3650fbe1e/68747470733a2f2f7472617669732d63692e6f72672f6b75796f746f2f70737231352d6272696467652e7376673f623d6d6173746572)](https://travis-ci.org/kuyoto/psr15-bridge)[![Latest Stable Version](https://camo.githubusercontent.com/deeec16481dc5bed290afb22e68d0b60118965ba24dd36985d00acbf9e87acde/68747470733a2f2f706f7365722e707567782e6f72672f6b75796f746f2f70737231352d6272696467652f762f737461626c653f666f726d61743d666c6174)](https://packagist.org/packages/kuyoto/psr15-bridge)[![License](https://camo.githubusercontent.com/88010ed21639042c92900f26785216e657cba64a618f7d5cf05de69ac02edf85/68747470733a2f2f706f7365722e707567782e6f72672f6b75796f746f2f70737231352d6272696467652f6c6963656e73653f666f726d61743d666c6174)](https://packagist.org/packages/kuyoto/psr15-bridge)

This package provides a [PSR-15](http://www.php-fig.org/psr/psr-15/) middleware that decorates a callable (double pass) middleware.

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

[](#installation)

The recommnended way to install this library is through [composer](https://getcomposer.org):

```
composer require kuyoto/psr15-bridge
```

Usage
-----

[](#usage)

Decorates an existing callable (double pass) [PSR-7](http://www.php-fig.org/psr/psr-7/) middlewares to a [PSR-15](http://www.php-fig.org/psr/psr-15/) middleware:

```
use Kuyoto\Psr15\Bridge\DoublePassMiddlewareDecorator;

$decorator = new DoublePassMiddlewareDecorator($callableMiddleware, $response);
```

You can add the resulting middleware objects in a [PSR-15](http://www.php-fig.org/psr/psr-15/) stack.

Testing
-------

[](#testing)

```
composer test
```

License
-------

[](#license)

The package is an open-sourced software licensed under the [MIT License](LICENSE).

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 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/41d7599877e958842cf173cf1265fabd845006ccd14becaacd12b63c5a28ccd1?d=identicon)[nikuyo](/maintainers/nikuyo)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/kuyoto-psr15-bridge/health.svg)

```
[![Health](https://phpackages.com/badges/kuyoto-psr15-bridge/health.svg)](https://phpackages.com/packages/kuyoto-psr15-bridge)
```

###  Alternatives

[phpdocumentor/type-resolver

A PSR-5 based resolver of Class names, Types and Structural Element Names

9.2k719.5M166](/packages/phpdocumentor-type-resolver)[pimple/pimple

Pimple, a simple Dependency Injection Container

2.7k130.5M1.4k](/packages/pimple-pimple)[league/container

A fast and intuitive dependency injection container.

86387.8M343](/packages/league-container)[stella-maris/clock

A pre-release of the proposed PSR-20 Clock-Interface

7947.5M2](/packages/stella-maris-clock)[wptrt/wpthemereview

PHP\_CodeSniffer rules (sniffs) to verify theme compliance with the rules for theme hosting on wordpress.org

217736.5k29](/packages/wptrt-wpthemereview)[inpsyde/modularity

Modular PSR-11 implementation for WordPress plugins, themes or libraries.

54383.3k3](/packages/inpsyde-modularity)

PHPackages © 2026

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