Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

codeinchq/compatibility-middleware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Compatibility PSR-15 middleware

This library provides a collection of PSR-15 middleware to provide compatibility with older PHP scripts.

The collection includes

  • PhpGpcVarsMiddleware Extract PSR-7 request data to PHP GPC variables $_GET, $_POST, $_COOKIE and $_SERVER
  • PhpSessionMiddleware Read sesion cookie from PSR-7 requests and add session cookie to PSR-7 responses

Installation

This library is available through Packagist and can be installed using Composer:

composer require codeinc/compatibility-middleware

💬 This library is extracted from the now deprecated codeinc/psr15-middlewares package.

License

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages