PHPackages                             wyrihaximus/react-http-psr-15-middleware-group - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. wyrihaximus/react-http-psr-15-middleware-group

ActiveLibrary[HTTP &amp; Networking](/categories/http)

wyrihaximus/react-http-psr-15-middleware-group
==============================================

Opinionated PSR-15 middleware group for react/http

1.4.0(7y ago)35.1k[3 PRs](https://github.com/WyriHaximus/reactphp-http-psr-15-middleware-group/pulls)MITPHPPHP ^7.2CI failing

Since Jan 7Pushed 9mo ago1 watchersCompare

[ Source](https://github.com/WyriHaximus/reactphp-http-psr-15-middleware-group)[ Packagist](https://packagist.org/packages/wyrihaximus/react-http-psr-15-middleware-group)[ RSS](/packages/wyrihaximus-react-http-psr-15-middleware-group/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (7)Dependencies (13)Versions (13)Used By (0)

Opinionated PSR-15 middleware group for react/http
==================================================

[](#opinionated-psr-15-middleware-group-for-reacthttp)

[![Build Status](https://camo.githubusercontent.com/e8ce9388d6033de3eda3882d4fd88dd5b794484552108cdc5ac32e9a5648a35c/68747470733a2f2f7472617669732d63692e6f72672f57797269486178696d75732f72656163747068702d687474702d7073722d31352d6d6964646c65776172652d67726f75702e706e67)](https://travis-ci.org/WyriHaximus/reactphp-http-psr-15-middleware-group)[![Latest Stable Version](https://camo.githubusercontent.com/6b40a4be2310b1bbf39fb8a07d72182171f5c145ca98df0a6d0b338a3219bc11/68747470733a2f2f706f7365722e707567782e6f72672f57797269486178696d75732f72656163742d687474702d7073722d31352d6d6964646c65776172652d67726f75702f762f737461626c652e706e67)](https://packagist.org/packages/WyriHaximus/react-http-psr-15-middleware-group)[![Total Downloads](https://camo.githubusercontent.com/329403df7ebe2dac76fc8aa5620eef8f8ad27aed11d8f745615269e6d11e21c6/68747470733a2f2f706f7365722e707567782e6f72672f57797269486178696d75732f72656163742d687474702d7073722d31352d6d6964646c65776172652d67726f75702f646f776e6c6f6164732e706e67)](https://packagist.org/packages/WyriHaximus/react-http-psr-15-middleware-group/stats)[![Code Coverage](https://camo.githubusercontent.com/4cb8e49746a0bdde8da39787a7e444ad2c77868e404fc658b57251bdc52d3181/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f57797269486178696d75732f72656163747068702d687474702d7073722d31352d6d6964646c65776172652d67726f75702f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/WyriHaximus/reactphp-http-psr-15-middleware-group/?branch=master)[![License](https://camo.githubusercontent.com/5d713ca4fc43d983a1cdeee79f6aaeb4082e2591e52c266ce4864056d6155969/68747470733a2f2f706f7365722e707567782e6f72672f77797269686178696d75732f72656163742d687474702d7073722d31352d6d6964646c65776172652d67726f75702f6c6963656e73652e706e67)](https://packagist.org/packages/wyrihaximus/react-http-psr-15-middleware-group)

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 wyrihaximus/react-http-psr-15-middleware-group

```

Usage
-----

[](#usage)

The factory sets up a accesslog, with response time, UUID for each request and detects the correct client IP per request.

```
$loop = \React\EventLoop\Factory::create();
$logger = new \Monolog\Logger(); // Any PSR-3 logger will do
$options = []; // Optional see Factory::DEFAULT_OPTIONS for thedefaults
$server = new Server([
    /** Other middleware */
    Factory::create($loop, $logger),
    /** Other middleware */
]);
```

License
-------

[](#license)

Copyright 2018 [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

38

—

LowBetter than 83% of packages

Maintenance40

Moderate activity, may be stable

Popularity23

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 56.8% 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 ~29 days

Recently: every ~52 days

Total

9

Last Release

2866d ago

PHP version history (3 changes)1.0.0PHP ^7.0

1.3.0PHP ^7.1

1.4.0PHP ^7.2

### 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 (42 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (18 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (14 commits)")

---

Tags

hacktoberfest

### Embed Badge

![Health badge](/badges/wyrihaximus-react-http-psr-15-middleware-group/health.svg)

```
[![Health](https://phpackages.com/badges/wyrihaximus-react-http-psr-15-middleware-group/health.svg)](https://phpackages.com/packages/wyrihaximus-react-http-psr-15-middleware-group)
```

###  Alternatives

[symfony/http-kernel

Provides a structured process for converting a Request into a Response

8.1k869.4M8.6k](/packages/symfony-http-kernel)[symfony/http-client

Provides powerful methods to fetch HTTP resources synchronously or asynchronously

2.0k338.8M4.8k](/packages/symfony-http-client)[zircote/swagger-php

Generate interactive documentation for your RESTful API using PHP attributes (preferred) or PHPDoc annotations

5.3k144.5M584](/packages/zircote-swagger-php)[symfony/cache

Provides extended PSR-6, PSR-16 (and tags) implementations

4.2k373.5M3.2k](/packages/symfony-cache)[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.4k67.4M260](/packages/nelmio-api-doc-bundle)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)

PHPackages © 2026

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