http-interop/http-server-handler
最新稳定版本:1.1.0
Composer 安装命令:
composer require http-interop/http-server-handler
包简介
Common interface for HTTP server-side request handler
README 文档
README
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;
统计信息
- 总下载量: 21.66k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 19
- 点击次数: 1
- 依赖项目数: 6
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-11-09