-
-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for psr/http-message v2 #513
Comments
Any progress here? Just installed your package, but my application needs pst/http-message v2, so had to do some changes to check if i can use v1, but i can't sadly, all my other packages and libs are already v2.. |
This comment has been minimized.
This comment has been minimized.
1 similar comment
This comment has been minimized.
This comment has been minimized.
I'd really like to bundle this package with the LLPhant (theodo-group/llphant) library for a project I'm working on. Unfortunately, LLPhant mandates psr/http-message v2, as does the Opensearch PHP library (opensearch-project/opensearch-php), so I'm pretty much dead in the water. Is support for psr/http-message v2.0 a long way off? |
I recommend adding support for
psr/http-message v2
, which was released in April and requires PHP 7.2+. To ensure compatibility withpsr/http-message v2
across all currently supported versions inhttp
(PHP 5.3+), we will need to implement some additional workarounds for older PHP versions. These workarounds are necessary not only for the currentv1
ofhttp
, but also for the upcomingv3
, which will support PHP 7.1+. We will also need to include additional tests to ensure our compatibility withpsr/http-message v2
.Additionally we need to remove the dependency for
ringcentral/psr7
as discussed in #485, which currently has a dependency onpsr/http-message v1
. This project has not received updates since 2020, and it is unlikely to receive support forpsr/http-message v2
anytime soon. To ensure compatibility withpsr/http-message v2
, we must first removeringcentral/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 ❤️
The text was updated successfully, but these errors were encountered: