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 3w 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 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity55

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

2638d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1252932?v=4)[aidphp](/maintainers/aidphp)[@aidphp](https://github.com/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

[cakephp/cakephp

The CakePHP framework

8.9k19.5M1.8k](/packages/cakephp-cakephp)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[cakephp/authentication

Authentication plugin for CakePHP

1214.1M101](/packages/cakephp-authentication)[typo3/cms-core

TYPO3 CMS Core

3713.2M5.0k](/packages/typo3-cms-core)[typo3/cms-adminpanel

TYPO3 CMS Admin Panel - The Admin Panel displays information about your site in the frontend and contains a range of metrics including debug and caching information.

115.7M65](/packages/typo3-cms-adminpanel)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)

PHPackages © 2026

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