PHPackages                             react-parallel/psr-15-adapter - 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. react-parallel/psr-15-adapter

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

react-parallel/psr-15-adapter
=============================

🎫🎟️

1.0.1(5y ago)48[3 PRs](https://github.com/reactphp-parallel/psr-15-adapter/pulls)MITPHPPHP ^7.4

Since Sep 7Pushed 9mo ago2 watchersCompare

[ Source](https://github.com/reactphp-parallel/psr-15-adapter)[ Packagist](https://packagist.org/packages/react-parallel/psr-15-adapter)[ GitHub Sponsors](https://github.com/WyriHaximus)[ RSS](/packages/react-parallel-psr-15-adapter/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (17)Versions (6)Used By (0)

ReactPHP/HTTP PSR 15 adapter
============================

[](#reactphphttp-psr-15-adapter)

[![Continuous Integration](https://github.com/Reactphp-parallel/psr-15-adapter/workflows/Continuous%20Integration/badge.svg)](https://github.com/Reactphp-parallel/psr-15-adapter/workflows/Continuous%20Integration/badge.svg)[![Latest Stable Version](https://camo.githubusercontent.com/e8f5ef758f23f84241e2a3df33e07183d50f2645501450266833131b3ae36775/68747470733a2f2f706f7365722e707567782e6f72672f52656163742d706172616c6c656c2f7073722d31352d616461707465722f762f737461626c652e706e67)](https://packagist.org/packages/React-parallel/psr-15-adapter)[![Total Downloads](https://camo.githubusercontent.com/ad794500995965d74f5b0a092c34c4049f0830a4ed0d9bac3ca61b0b10c01275/68747470733a2f2f706f7365722e707567782e6f72672f52656163742d706172616c6c656c2f7073722d31352d616461707465722f646f776e6c6f6164732e706e67)](https://packagist.org/packages/React-parallel/psr-15-adapter)[![Code Coverage](https://camo.githubusercontent.com/e16b5240d6cc4233f9541eb4e0cce686dc28529805c821cb7d34d51835d595de/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f52656163747068702d706172616c6c656c2f7073722d31352d616461707465722f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Reactphp-parallel/psr-15-adapter/?branch=master)[![Type Coverage](https://camo.githubusercontent.com/e460f28a0f9e7ed177322e4d1c37190929575cc206a5eddee6525cf1de429bbd/68747470733a2f2f73686570686572642e6465762f6769746875622f52656163747068702d706172616c6c656c2f7073722d31352d616461707465722f636f7665726167652e737667)](https://shepherd.dev/github/Reactphp-parallel/psr-15-adapter)[![License](https://camo.githubusercontent.com/3e702ae2e0de2ae9935ad1707b11b6fb59fbef0b98fe49d2e858a261ba4aca6b/68747470733a2f2f706f7365722e707567782e6f72672f52656163742d706172616c6c656c2f7073722d31352d616461707465722f6c6963656e73652e706e67)](https://packagist.org/packages/React-parallel/psr-15-adapter)

### Installation

[](#installation)

To install via [Composer](http://getcomposer.org/), use the command below, it will automatically detect the latest version and bind it with `~`.

```
composer require react-parallel/psr-15-adapter

```

Usage
=====

[](#usage)

The middleware adapter accepts any PSR-15 middleware instance that meets for following criteria:

- Only uses scalars and userland classes
- Doesn't hold references to anything but scalars and userland classes
- Doesn't have internal state or relies on external state

```
use ReactParallel\Factory as ParallelFactory;

$loop = Factory::create();
$factory = new ParallelFactory($loop);
$psr15Middleware = new ThePsr15MiddlewareOfYourChoice();
$otherPsr15Middleware = new TheOtherPsr15MiddlewareOfYourChoice();
$server = new React\Http\Server(
    $loop,
    new ReactMiddleware(
        $factory,
        $psr15Middleware,
        $otherPsr15Middleware
    )
);
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

License
-------

[](#license)

Copyright 2020 [Cees-Jan Kiewiet](http://wyrihaximus.net/)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance40

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88% 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.

###  Release Activity

Cadence

Every ~3 days

Total

2

Last Release

2121d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/147145?v=4)[Cees-Jan Kiewiet](/maintainers/WyriHaximus)[@WyriHaximus](https://github.com/WyriHaximus)

---

Top Contributors

[![WyriHaximus](https://avatars.githubusercontent.com/u/147145?v=4)](https://github.com/WyriHaximus "WyriHaximus (22 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")

---

Tags

hacktoberfest

### Embed Badge

![Health badge](/badges/react-parallel-psr-15-adapter/health.svg)

```
[![Health](https://phpackages.com/badges/react-parallel-psr-15-adapter/health.svg)](https://phpackages.com/packages/react-parallel-psr-15-adapter)
```

###  Alternatives

[ccxt/ccxt

A cryptocurrency trading API with more than 100 exchanges in JavaScript / TypeScript / Python / C# / PHP / Go

43.2k341.0k1](/packages/ccxt-ccxt)[composer/composer

Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.

29.5k196.2M3.1k](/packages/composer-composer)[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k251.2M25.2k](/packages/friendsofphp-php-cs-fixer)[team-reflex/discord-php

An unofficial API to interact with the voice and text service Discord.

1.1k420.9k26](/packages/team-reflex-discord-php)[rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

136406.3k14](/packages/rector-rector-src)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)

PHPackages © 2026

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