Add support for psr/http-message v2
还没有人认领这个 Issue。
评估
调研方向
Start by reviewing the compatibility discussion in #485 and the current dependency on ringcentral/psr7, then trace how psr/http-message v1 is supported across the currently supported PHP versions. Add the required older-PHP workarounds, remove ringcentral/psr7, and include tests covering psr/http-message v2 compatibility.
由索引模型根据 Issue 内容生成。
描述
I recommend adding support for psr/http-message v2, which was released in April and requires PHP 7.2+. To ensure compatibility with psr/http-message v2 across all currently supported versions in http (PHP 5.3+), we will need to implement some additional workarounds for older PHP versions. These workarounds are necessary not only for the current v1 of http, but also for the upcoming v3, which will support PHP 7.1+. We will also need to include additional tests to ensure our compatibility with psr/http-message v2.
Additionally we need to remove the dependency for ringcentral/psr7 as discussed in #485, which currently has a dependency on psr/http-message v1. This project has not received updates since 2020, and it is unlikely to receive support for psr/http-message v2 anytime soon. To ensure compatibility with psr/http-message v2, we must first remove ringcentral/psr7.
I'll update this ticket as we make progress 👍
If you need this feature urgently, you can always reach out to us or help us prioritizing by becoming a sponsor and supporting the ReactPHP ecosystem ❤️
- 主要语言
- PHP
- 星标
- 781
- 派生
- 166
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
reactphp/http 的其他 Issue
-
bug
难度 3/5 1-2 天 新手友好度 76/100
-
bug
难度 3/5 1-2 天 新手友好度 35/100
-
maintenance
难度 5/5 一周以上 新手友好度 20/100
-
help wanted new feature
难度 5/5 一周以上 新手友好度 25/100
-
new feature
难度 4/5 3-5 天 新手友好度 35/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
getgrav/grav-plugin-api#45 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
RSS-Bridge/rss-bridge#5098 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
phingofficial/phing#2025 ·
-
难度 2/5 1-3 小时 新手友好度 82/100
silverstripe/developer-docs#911 ·
-
难度 2/5 1-3 小时 新手友好度 74/100