Skip to content

Allow psr/http-message v2 to increase compatibility with other packages #246

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

Merged

Conversation

DannyvdSluijs
Copy link
Contributor

Some major packages require v2 of psr/http-message, such as aws/aws-sdk-php and elasticsearch/elasticsearch.

Since v2 only adds return types it is considered compatible which is also reflected by other packages having the psr/http-message constraint defined as ^1.0 || ^2.0 such as guzzlehttp/psr7 or https://packagist.org/packages/predis/predis

Links

…with packages requiring v2

Some major packages require v2 of psr/http-message, such as aws/aws-sdk-php and elasticsearch/elasticsearch. Since v2 only adds return types it is considered compatible
@M4tini M4tini self-assigned this Jul 16, 2025
@M4tini M4tini changed the title build: Add psr/http-message v2 as alternative to allow compatibility with packages requiring v2 Allow psr/http-message v2 to increase compatibility with other packages Jul 16, 2025
@M4tini M4tini merged commit 0541423 into MyParcelCOM:develop Jul 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants