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

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

aidphp/http-middleware
======================

HTTP Middlewares

1.0.0(7y ago)023MITPHPPHP ^7.1.0

Since Apr 12Pushed 7y ago1 watchersCompare

[ Source](https://github.com/aidphp/http-middleware)[ Packagist](https://packagist.org/packages/aidphp/http-middleware)[ RSS](/packages/aidphp-http-middleware/feed)WikiDiscussions master Synced 6d ago

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

Aidphp Http Middlewares
=======================

[](#aidphp-http-middlewares)

[![Build Status](https://camo.githubusercontent.com/5205c6907286b2809a198d960fab1e9b2157d89146323a38e4435fb74e9b9c1a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6169647068702f687474702d6d6964646c65776172652f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/aidphp/http-middleware/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/29894cb79cd4f0cb099298a91aafdbd089e1d9d5626654882ef468db38e6ea3b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6169647068702f687474702d6d6964646c65776172652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/aidphp/http-middleware/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/6c173e81eb3b67a8227302e848fe42b12bedda8dd4c567779092023949c7f04e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6169647068702f687474702d6d6964646c65776172652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/aidphp/http-middleware/?branch=master)[![Build Status](https://camo.githubusercontent.com/a283190c10baa4d1f52d905212068dfab61f1f489267f1ec885afe362bd39b41/68747470733a2f2f7472617669732d63692e6f72672f6169647068702f687474702d6d6964646c65776172652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/aidphp/http-middleware)

This repository contains the following middlewares:

- *ContentMiddleware* inject the Content-Type and Content-Length header into a PSR-7 `ResponseInterface` headers.
- *SenderMiddleware* to send a PSR-7 `ResponseInterface` headers and body.
- *FormContentMiddleware* to decode the URL-encoded content of a PSR-7 `RequestInterface`.
- *JsonContentMiddleware* to decode the JSON content of a PSR-7 `RequestInterface`.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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

2592d ago

### Community

Maintainers

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

---

Tags

httpmiddlewares

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[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)[sunrise/http-router

A powerful solution as the foundation of your project.

16249.8k10](/packages/sunrise-http-router)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

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

Simple PHP Library for RESTful APIs

4818.7k4](/packages/wellrested-wellrested)

PHPackages © 2026

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