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

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

moon-php/http-middleware
========================

Http-Middleware supporting PSR-15

v3.0.0(7y ago)41.8k4[1 issues](https://github.com/moon-php/http-middleware/issues)MITPHPPHP &gt;=7.1CI failing

Since Jul 11Pushed 7y ago1 watchersCompare

[ Source](https://github.com/moon-php/http-middleware)[ Packagist](https://packagist.org/packages/moon-php/http-middleware)[ Docs](https://www.moon-php.com/)[ RSS](/packages/moon-php-http-middleware/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (6)Dependencies (9)Versions (9)Used By (0)

Moon - HTTP Middleware
======================

[](#moon---http-middleware)

[![Coverage Status](https://camo.githubusercontent.com/f845c33225d02c701768421aa355e2ff52e3cd3a3cfe3aaee3f0dd99529c2984/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f6d6f6f6e2d7068702f687474702d6d6964646c65776172652f62616467652e737667)](https://coveralls.io/github/moon-php/http-middleware)[![Build Status](https://camo.githubusercontent.com/f8f6bec53f7f3154f2efaa3304f6023b8cae35fabf80ef090cfeaf2bd6f09a07/68747470733a2f2f7472617669732d63692e6f72672f6d6f6f6e2d7068702f687474702d6d6964646c65776172652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/moon-php/http-middleware)[![Conventional Commits](https://camo.githubusercontent.com/90d8aeee02dec6f5ceeb0423b9ba1aea93519cadbfcb13d62770ac6550780d6e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436f6e76656e74696f6e616c253230436f6d6d6974732d312e302e302d79656c6c6f772e737667)](https://conventionalcommits.org)[![PHPStan](https://camo.githubusercontent.com/441b5874ce4df0a2defc892979c96c46889b69cb32119d04f0b48626349f8bc9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048505374616e2d656e61626c65642d627269676874677265656e2e7376673f7374796c653d666c6174)](https://github.com/phpstan/phpstan)

Official Documentation
----------------------

[](#official-documentation)

Documentation can be found on the [Moon website](http://www.moon-php.com/docs/http-middleware/).

Tests
-----

[](#tests)

To execute the test suite, you'll need phpunit. *It's a dev-dependency of this package*

```
$ php vendon/bin/phpunit
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Learn More
----------

[](#learn-more)

Learn more at these links:

- [Moon Website](http://www.moon-php.com)

Security
--------

[](#security)

If you discover security related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

The Moon Http-Middleware is licensed under the MIT license. See [License File](LICENSE) for more information.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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 ~114 days

Recently: every ~171 days

Total

7

Last Release

2582d ago

Major Versions

v0.2.1 → v1.0.02018-01-23

v1.0.0 → v2.0.02018-09-06

v2.0.0 → v3.0.02019-05-30

### Community

Maintainers

![](https://www.gravatar.com/avatar/819d5c3f2d019dc8e4d0ad028ee76ef207a2bc201cb7dc70ffe3105e3997d881?d=identicon)[damianopetrungaro](/maintainers/damianopetrungaro)

---

Top Contributors

[![damianopetrungaro](https://avatars.githubusercontent.com/u/8950503?v=4)](https://github.com/damianopetrungaro "damianopetrungaro (25 commits)")

---

Tags

http-middlewaremiddlewarephppsr-15

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[cakephp/cakephp

The CakePHP framework

8.8k19.1M1.7k](/packages/cakephp-cakephp)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k50.1M314](/packages/api-platform-core)[mezzio/mezzio

PSR-15 Middleware Microframework

3903.8M120](/packages/mezzio-mezzio)[hyperf/hyperf

A coroutine framework that focuses on hyperspeed and flexibility. Building microservice or middleware with ease.

6.9k3.2k2](/packages/hyperf-hyperf)[api-platform/state

API Platform state interfaces

244.3M112](/packages/api-platform-state)[mezzio/mezzio-authentication-oauth2

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

28545.4k3](/packages/mezzio-mezzio-authentication-oauth2)

PHPackages © 2026

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