Skip to content

Interface for PSR-15 server request handler

License

Notifications You must be signed in to change notification settings

http-interop/http-server-handler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HTTP Server Handler

Deprecation warning!

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

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

Please switch to psr/http-server-handler as soon as possible.

Changes Required

There are two changes required to use the official psr/http-server-handler package:

Update Composer

Replace the line in composer.json that reads:

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

with:

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

Update Code

Replace any references to:

use Interop\Http\Server\RequestHandlerInterface;

with:

use Psr\Http\Server\RequestHandlerInterface;

About

Interface for PSR-15 server request handler

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages