horde/http_server
最新稳定版本:v1.0.0beta1
Composer 安装命令:
composer require horde/http_server
包简介
HTTP Request Handling Library adhering to PSR-15 standard. This evolved out of horde/controller.
README 文档
README
The horde\http_server is an implementation of PSR-15. Together with horde\http, it provides all the necessary building blocks needed for a standalone website, a slim API microframework or for fullstack horde applications. The http_server library has evolved out of efforts to modernize the horde/controller library and accompanying core components.
Usage
See examples/ folder
Design goals
MVP
- horde/http_server aims at having few dependencies and subdependencies.
- Keep all the deeper Horde relations somewhere else
- Strict, simple implementation of a PSR-15 (middleware standard) ecosystem
- Through horde\http, adhere to PSR-7 (request/response standard), PSR-17 (request/response factories) and PSR-18 (HTTP client)
- allow opening the Horde ecosystem to external middleware vendors (avoid NIH)
Stretch Goals
- Support a PSR-3 logger (once we have one in the ecosystem)
- Passing external compliance tests (which?)
Non-Goals
- Backward compatibility with horde/controller (that library should offer a wrapper middleware instead)
- Advanced Routing (Integration should be done either in the router library or in a router middleware package)
- horde/core integration (That should be the job of horde/core or a separate package)
- httplug extensions
统计信息
- 总下载量: 1.38k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: BSD-2-Clause
- 更新时间: 2023-10-26