WordPress/Requests
Requests for PHP is a humble HTTP request library. It simplifies how you interact with other sites and takes away all your worries. observed · 2026-08-28
Health v2 · maintenance only
92/100
- Activity 97
- Release rhythm 82
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 62.5
- age_days: 5321
- days_rel: 43
- days_push: 20
- n_releases_24m: 7
Adoption not part of the score
3574 stars · 502 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Requests for PHP is a dependency-free HTTP request library with a simple, Python-requests-inspired API. It abstracts over cURL and fsockopen to provide consistent GET/POST/PUT/DELETE/PATCH/HEAD requests with authentication, SSL verification, and automatic decompression.
Use cases
- make HTTP requests in PHP without touching cURL directly
- call REST APIs from a PHP application
- send POST requests with form data or multipart files
- add basic or digest authentication to outgoing requests
- fetch remote URLs with SSL verification and timeouts
- handle internationalized domain names in HTTP calls
When to choose
- you need a simple, zero-dependency PHP HTTP client
- you cannot rely on cURL being available and want a fsockopen fallback
- you want a consistent API across PHP projects, including WordPress ecosystems
- you need quick GET/POST calls with headers, auth, and timeouts
When to avoid
- you need async, streaming, or HTTP/2/3 features offered by Guzzle or PSR-18 clients
- you are building a framework that requires PSR-7/PSR-18 interoperability
- you need advanced middleware or promise-based concurrency
Facets
library · maturity stable
http-client web-development apis developer-tools php curl http-requests zero-dependency wordpress
4 sources
- readme: https://github.com/WordPress/Requests · fetched 2026-08-28 · 9686e9641895
- homepage: https://requests.ryanmccue.info/ · fetched 2026-08-29 · 67406fc51d42
- site_page: https://requests.ryanmccue.info/docs · fetched 2026-08-29 · fac2cd4e8c24
- site_page: https://requests.ryanmccue.info/api-2.x/classes/WpOrg-Requests-Requests.html · fetched 2026-08-29 · 8d2616ff485c
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| WordPress/Requests | main | 92 |
For agents
markdown · JSON · MCP: product_card(name="WordPress/Requests")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem