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

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

legionth/http-middleware
========================

v0.1.0(9y ago)017MITPHPPHP &gt;=5.3

Since Dec 5Pushed 9y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (2)Used By (0)

legionth/http-middleware
========================

[](#legionthhttp-middleware)

HTTP middleware interfaces based on the current status (2016-12-05) of the equivalent [PSR document from fig-php](https://github.com/php-fig/fig-standards/blob/master/proposed/http-middleware/middleware.md)

**Table of Contents**

- [Usage](#usage)
- [Install](#install)

Usage
-----

[](#usage)

This is collection of all interfaces defined the currently proposed PSR-15 document. It MAY can change in the future because this document is under discussions.

Create your own middleware e.g. using:

```
class MyMiddleWare implements ClientMiddlewareInterface
{
    public function process(RequestInterface $request, DelegateInterface $next)
    {
        return $next->next($request);
    }
}
```

Checkout the PSR-15 proposed definitions.

Install
-------

[](#install)

[New to Composer?](https://getcomposer.org/doc/00-intro.md)

This will install the latest supported version:

```
$ composer require legionth/http-middleware:^0.1
```

License
-------

[](#license)

MIT

###  Health Score

22

—

LowBetter than 21% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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

Unknown

Total

1

Last Release

3494d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1578709?v=4)[Niels Theen](/maintainers/legionth)[@legionth](https://github.com/legionth)

---

Top Contributors

[![legionth](https://avatars.githubusercontent.com/u/1578709?v=4)](https://github.com/legionth "legionth (5 commits)")

### Embed Badge

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

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

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25025.5M80](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.2M6.6k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k20.0k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87930.4k113](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.3M84](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69122.6k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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