Skip to content

Adds built-in support for basic PSR7 and 17 support#208

Merged
JasonTheAdams merged 4 commits intotrunkfrom
add/built-in-psr7-support
Feb 20, 2026
Merged

Adds built-in support for basic PSR7 and 17 support#208
JasonTheAdams merged 4 commits intotrunkfrom
add/built-in-psr7-support

Conversation

@JasonTheAdams
Copy link
Member

This introduces basic support for PSR7 and PSR17 along with an abstract discovery class. This way implementing systems can use these built-in classes so they don't have to introduce their own and can simply create their own HTTP Client.

@JasonTheAdams JasonTheAdams self-assigned this Feb 20, 2026
@github-actions
Copy link

github-actions bot commented Feb 20, 2026

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: JasonTheAdams <jason_the_adams@git.wordpress.org>
Co-authored-by: felixarntz <flixos90@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

Comment on lines 26 to +28
"php-http/discovery": "^1.0",
"php-http/httplug": "^2.0",
"psr/event-dispatcher": "^1.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super nit-pick, but since you're sorting this differently now, can you make it alphabetically?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are. 😄

@JasonTheAdams JasonTheAdams merged commit 306817f into trunk Feb 20, 2026
6 checks passed
@JasonTheAdams JasonTheAdams deleted the add/built-in-psr7-support branch February 20, 2026 06:16
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