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

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

psr/http-server-middleware
==========================

Common interface for HTTP server-side middleware

1.0.2(3y ago)18291.2M—2%1020MITPHPPHP &gt;=7.0

Since Jan 22Pushed 2y ago14 watchersCompare

[ Source](https://github.com/php-fig/http-server-middleware)[ Packagist](https://packagist.org/packages/psr/http-server-middleware)[ RSS](/packages/psr-http-server-middleware/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (4)Used By (20)

HTTP Server Middleware
======================

[](#http-server-middleware)

This repository holds the `MiddlewareInterface` related to [PSR-15 (HTTP Server Request Handlers)](https://www.php-fig.org/psr/psr-15/).

Note that this is not a Middleware implementation of its own. It is merely the interface that describe a Middleware.

The installable [package](https://packagist.org/packages/psr/http-server-middleware) and [implementations](https://packagist.org/providers/psr/http-server-middleware-implementation) are listed on Packagist.

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity69

Solid adoption and visibility

Community49

Growing community involvement

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 62.5% 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 ~952 days

Total

3

Last Release

1134d ago

### Community

Maintainers

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

---

Top Contributors

[![shadowhand](https://avatars.githubusercontent.com/u/38203?v=4)](https://github.com/shadowhand "shadowhand (45 commits)")[![schnittstabil](https://avatars.githubusercontent.com/u/6059032?v=4)](https://github.com/schnittstabil "schnittstabil (7 commits)")[![atanvarno69](https://avatars.githubusercontent.com/u/22321380?v=4)](https://github.com/atanvarno69 "atanvarno69 (4 commits)")[![gnumoksha](https://avatars.githubusercontent.com/u/696797?v=4)](https://github.com/gnumoksha "gnumoksha (3 commits)")[![Jean85](https://avatars.githubusercontent.com/u/6729988?v=4)](https://github.com/Jean85 "Jean85 (2 commits)")[![mindplay-dk](https://avatars.githubusercontent.com/u/103348?v=4)](https://github.com/mindplay-dk "mindplay-dk (2 commits)")[![mnapoli](https://avatars.githubusercontent.com/u/720328?v=4)](https://github.com/mnapoli "mnapoli (2 commits)")[![oscarotero](https://avatars.githubusercontent.com/u/377873?v=4)](https://github.com/oscarotero "oscarotero (2 commits)")[![J0WI](https://avatars.githubusercontent.com/u/5710638?v=4)](https://github.com/J0WI "J0WI (1 commits)")[![ghostwriter](https://avatars.githubusercontent.com/u/9754361?v=4)](https://github.com/ghostwriter "ghostwriter (1 commits)")[![DaGhostman](https://avatars.githubusercontent.com/u/2286949?v=4)](https://github.com/DaGhostman "DaGhostman (1 commits)")[![localheinz](https://avatars.githubusercontent.com/u/605483?v=4)](https://github.com/localheinz "localheinz (1 commits)")[![michaelcullum](https://avatars.githubusercontent.com/u/211740?v=4)](https://github.com/michaelcullum "michaelcullum (1 commits)")

---

Tags

httpresponserequestpsrpsr-7middlewarepsr-15http-interop

### Embed Badge

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

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

###  Alternatives

[psr/http-server-handler

Common interface for HTTP server-side request handler

177101.3M921](/packages/psr-http-server-handler)[psr/http-factory

PSR-17: Common interfaces for PSR-7 HTTP message factories

1.9k692.9M1.9k](/packages/psr-http-factory)[mezzio/mezzio

PSR-15 Middleware Microframework

3883.6M97](/packages/mezzio-mezzio)[idealo/php-middleware-stack

Implementation of HTTP Middleware PSR-15 specification

318.9k](/packages/idealo-php-middleware-stack)[art4/requests-psr18-adapter

Use WordPress/Requests as a PSR-18 HTTP client

153.3k](/packages/art4-requests-psr18-adapter)

PHPackages © 2026

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