PHPackages                             kwhat/http-middleware - 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. kwhat/http-middleware

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

kwhat/http-middleware
=====================

v0.2.0(6y ago)06MITPHPPHP &gt;=7.1.0

Since Dec 24Pushed 6y ago1 watchersCompare

[ Source](https://github.com/kwhat/http-middleware)[ Packagist](https://packagist.org/packages/kwhat/http-middleware)[ Docs](https://github.com/kwhat/http-middleware)[ RSS](/packages/kwhat-http-middleware/feed)WikiDiscussions master Synced today

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

What4 Http Middleware
=====================

[](#what4-http-middleware)

[![Latest Stable Version](https://camo.githubusercontent.com/1c604e50a3ab3199fd45ffe12cb423b3a30d6f9d7b6fc0d976707e7f9bf361d5/68747470733a2f2f706f7365722e707567782e6f72672f6b776861742f687474702d6d6964646c65776172652f762f737461626c65)](https://packagist.org/packages/kwhat/http-middleware)[![Latest Unstable Version](https://camo.githubusercontent.com/783d3003ad333d801440508429f6e3c88985a1fe0fbf761f3b26ae8a206a0b8e/68747470733a2f2f706f7365722e707567782e6f72672f6b776861742f687474702d6d6964646c65776172652f762f756e737461626c652e737667)](https://packagist.org/packages/kwhat/http-middleware)[![Build Status](https://github.com/kwhat/http-middleware/workflows/continuous%20integration/badge.svg)](https://github.com/kwhat/http-middleware)[![License](https://camo.githubusercontent.com/51f886354b87ab3ad45905c548b9305b4ac32d857172e8a69a1feff3841c72bc/68747470733a2f2f706f7365722e707567782e6f72672f6b776861742f687474702d6d6964646c65776172652f6c6963656e73652e737667)](https://packagist.org/packages/kwhat/http-middleware)[![Downloads](https://camo.githubusercontent.com/9dff2769ea82ad039e89c3ca9000f44341b2e258a38efae64223aa23884758a3/68747470733a2f2f706f7365722e707567782e6f72672f6b776861742f687474702d6d6964646c65776172652f642f746f74616c2e737667)](https://packagist.org/packages/kwhat/http-middleware)[![composer.lock available](https://camo.githubusercontent.com/b3d2895a13f3ff328925a6c71d1cd544b71d878474d527b1ba44ff48432b3218/68747470733a2f2f706f7365722e707567782e6f72672f6b776861742f687474702d6d6964646c65776172652f636f6d706f7365726c6f636b)](https://packagist.org/packages/kwhat/http-middleware)

### What is this?

[](#what-is-this)

This is a minimal, PSR compliant, middleware stack that was created as a simple proof-of-concept in the hopes that someone will find it useful. Required dependencies have been restricted to [PSR](https://packagist.org/packages/psr/)interfaces.

### How do I use it?

[](#how-do-i-use-it)

Theoretically you should be able to use this middleware stack in any PSR compliant framework.

```
composer require kwhat/http-middleware

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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.

###  Release Activity

Cadence

Every ~69 days

Total

2

Last Release

2259d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b4908b429b924b015ba7068223413a26bff2ccbe7fdac117662481bd88e20059?d=identicon)[kwhat](/maintainers/kwhat)

---

Top Contributors

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

---

Tags

middlewarephp7psr-15psr-7

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/kwhat-http-middleware/health.svg)

```
[![Health](https://phpackages.com/badges/kwhat-http-middleware/health.svg)](https://phpackages.com/packages/kwhat-http-middleware)
```

###  Alternatives

[relay/relay

A PSR-15 server request handler.

3302.1M84](/packages/relay-relay)[mezzio/mezzio-authentication-oauth2

OAuth2 (server) authentication middleware for Mezzio and PSR-7 applications.

28483.0k2](/packages/mezzio-mezzio-authentication-oauth2)[openswoole/core

Openswoole core library

181.1M32](/packages/openswoole-core)[mezzio/mezzio-authentication

Authentication middleware for Mezzio and PSR-7 applications

121.6M26](/packages/mezzio-mezzio-authentication)[jimtools/jwt-auth

PSR-15 JWT Authentication middleware, A replacement for tuupola/slim-jwt-auth

20142.3k3](/packages/jimtools-jwt-auth)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)

PHPackages © 2026

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