Skip to content

docs: explain the HTTP client adapter requirement - #278

Open
zahidgh wants to merge 1 commit into
WordPress:trunkfrom
zahidgh:docs/http-client-requirement
Open

docs: explain the HTTP client adapter requirement#278
zahidgh wants to merge 1 commit into
WordPress:trunkfrom
zahidgh:docs/http-client-requirement

Conversation

@zahidgh

@zahidgh zahidgh commented Aug 21, 2026

Copy link
Copy Markdown

Summary

  • document the HTTPlug/PSR-18 adapter requirement immediately after installation
  • show supported Composer commands for cURL and Guzzle 7 adapters
  • add Composer suggestions so the missing transport dependency is visible during installation

Without an adapter, the client cannot discover an HTTP transport when a provider request is created.

Validation

  • composer validate --no-check-publish --no-interaction
  • git diff --check

Fixes #82

@github-actions

Copy link
Copy Markdown

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: zahidgh <zahidui@git.wordpress.org>
Co-authored-by: Ref34t <mokhaled@git.wordpress.org>

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

@codecov

codecov Bot commented Aug 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.49%. Comparing base (a31b0ec) to head (78e7060).

Additional details and impacted files
@@            Coverage Diff            @@
##              trunk     #278   +/-   ##
=========================================
  Coverage     86.49%   86.49%           
  Complexity     1327     1327           
=========================================
  Files            68       68           
  Lines          4295     4295           
=========================================
  Hits           3715     3715           
  Misses          580      580           
Flag Coverage Δ
unit 86.49% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

Improve documentation for HTTPlug HTTP client requirement

1 participant