PHPackages                             codeinc/compatibility-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. codeinc/compatibility-middleware

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

codeinc/compatibility-middleware
================================

A collection of PSR-15 middleware to provide compatibility with older PHP scripts

1.0.0(8y ago)05MITPHPPHP &gt;=7.1

Since May 2Pushed 8y ago1 watchersCompare

[ Source](https://github.com/CodeIncHQ/CompatibilityMiddleware)[ Packagist](https://packagist.org/packages/codeinc/compatibility-middleware)[ Docs](https://github.com/CodeIncHQ/CompatibilityMiddleware)[ RSS](/packages/codeinc-compatibility-middleware/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (1)Dependencies (8)Versions (3)Used By (0)

Compatibility PSR-15 middleware
===============================

[](#compatibility-psr-15-middleware)

This library provides a collection of [PSR-15](https://www.php-fig.org/psr/psr-15/) middleware to provide compatibility with older PHP scripts.

The collection includes
-----------------------

[](#the-collection-includes)

- [`PhpGpcVarsMiddleware`](src/PhpGpcVarsMiddleware.php) Extract PSR-7 request data to PHP GPC variables `$_GET`, `$_POST`, `$_COOKIE` and `$_SERVER`
- [`PhpSessionMiddleware`](src/PhpSessionMiddleware.php) Read sesion cookie from PSR-7 requests and add session cookie to PSR-7 responses

Installation
------------

[](#installation)

This library is available through [Packagist](https://packagist.org/packages/codeinc/compatibility-middleware) and can be installed using [Composer](https://getcomposer.org/):

```
composer require codeinc/compatibility-middleware
```

💬 This library is extracted from the now deprecated [codeinc/psr15-middlewares](https://packagist.org/packages/codeinc/psr15-middlewares) package.

License
-------

[](#license)

The library is published under the MIT license (see [`LICENSE`](LICENSE) file).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity59

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

Every ~0 days

Total

2

Last Release

2935d ago

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/8f72f949d7f70e400c02c225685f1934dec6219689f25edec38b4037df166d58?d=identicon)[codeinc](/maintainers/codeinc)

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/codeinc-compatibility-middleware/health.svg)

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

###  Alternatives

[jaxon-php/jaxon-core

Jaxon is an open source PHP library for easily creating Ajax web applications

73142.3k25](/packages/jaxon-php-jaxon-core)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[neos/flow

Flow Application Framework

862.0M451](/packages/neos-flow)[fisharebest/webtrees

webtrees online genealogy

73710.5k13](/packages/fisharebest-webtrees)[neos/flow-development-collection

Flow packages in a joined repository for pull requests.

144179.3k3](/packages/neos-flow-development-collection)[eliashaeussler/typo3-solver

Extension for TYPO3 CMS to extend TYPO3's exception handling with AI generated solutions

292.1k](/packages/eliashaeussler-typo3-solver)

PHPackages © 2026

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