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 8mo 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 6d 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

33

—

LowBetter than 75% of packages

Maintenance43

Moderate activity, may be stable

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity58

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

2075d 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

[react/react

ReactPHP: Event-driven, non-blocking I/O with PHP.

9.1k3.6M63](/packages/react-react)[clue/docker-react

Async, event-driven access to the Docker Engine API, built on top of ReactPHP.

113154.9k1](/packages/clue-docker-react)[wyrihaximus/react-child-process-messenger

Messenger decorator for react/child-process

32279.4k4](/packages/wyrihaximus-react-child-process-messenger)[internal/dload

Downloads binaries.

98142.7k10](/packages/internal-dload)[jaxon-php/jaxon-core

Jaxon is an open source PHP library for easily creating Ajax web applications

73142.3k25](/packages/jaxon-php-jaxon-core)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)

PHPackages © 2026

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