2017 © Pedro Peláez
 

library http-server-middleware

Common interface for HTTP server-side middleware

image

http-interop/http-server-middleware

Common interface for HTTP server-side middleware

  • PHP
  • 23 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 10 Versions
  • 5 % Grown

The README.md

HTTP Server Middleware

Deprecation warning!

Starting January 22nd, 2018 http-interop is officially deprecated in favor of PSR-15., (*1)

From v1.1, this package directly extends PSR-15 interfaces to provide backwards compatibility and should no longer be added to new projects., (*2)

Please switch to psr/http-server-middleware as soon as possible., (*3)

Version Constraint Warning

To continue using this package for backwards compatibility, use the following version constraint to avoid a type error:, (*4)

{
    "require": {
        "http-interop/http-server-middleware": "^1.1.1"
    }
}

See issue #6 for details., (*5)

Changes Required

There are two changes required to use the official psr/http-server-middleware package:, (*6)

Update Composer

Replace the line in composer.json that reads:, (*7)

{
    "require": {
        "http-interop/http-server-middleware": "^1.0"
    }
}

with:, (*8)

{
    "require": {
        "psr/http-server-middleware": "^1.0"
    }
}

Update Code

Replace any references to:, (*9)

use Interop\Http\Server\MiddlewareInterface;

with:, (*10)

use Psr\Http\Server\MiddlewareInterface;

The Versions

23/01 2018

dev-master

9999999-dev

Common interface for HTTP server-side middleware

  Sources   Download

MIT

The Requires

 

middleware psr psr-7 http request response psr-15

23/01 2018

dev-docs-version-constraint

dev-docs-version-constraint

Common interface for HTTP server-side middleware

  Sources   Download

MIT

The Requires

 

middleware psr psr-7 http request response psr-15

23/01 2018

1.1.1

1.1.1.0

Common interface for HTTP server-side middleware

  Sources   Download

MIT

The Requires

 

middleware psr psr-7 http request response psr-15

23/01 2018

dev-fix-bc-break

dev-fix-bc-break

Common interface for HTTP server-side middleware

  Sources   Download

MIT

The Requires

 

middleware psr psr-7 http request response psr-15

23/01 2018

dev-oscarotero-patch-1

dev-oscarotero-patch-1

Common interface for HTTP server-side middleware

  Sources   Download

MIT

The Requires

 

middleware psr psr-7 http request response psr-15

22/01 2018

1.1.0

1.1.0.0

Common interface for HTTP server-side middleware

  Sources   Download

MIT

The Requires

 

middleware psr psr-7 http request response psr-15

22/01 2018

dev-use-psr-interface

dev-use-psr-interface

Common interface for HTTP server-side middleware

  Sources   Download

MIT

The Requires

 

middleware psr psr-7 http request response psr-15

09/11 2017

1.0.1

1.0.1.0

Common interface for HTTP server-side middleware

  Sources   Download

MIT

The Requires

 

middleware psr psr-7 http request response psr-15

09/11 2017

dev-replace-composer

dev-replace-composer

Common interface for HTTP server-side middleware

  Sources   Download

MIT

The Requires

 

middleware psr psr-7 http request response psr-15

09/11 2017

1.0.0

1.0.0.0

Common interface for HTTP server-side middleware

  Sources   Download

MIT

The Requires

 

middleware psr psr-7 http request response psr-15