Requests
HTTPlug
Our great sponsors
- Cloudways Cloudways' Black Friday Offer - 1st Choice of Developers
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
- Onboard AI - Learn any GitHub repo in 59 seconds
Requests | HTTPlug | |
---|---|---|
2 | 1 | |
3,541 | 2,514 | |
0.1% | 0.6% | |
0.0 | 0.0 | |
13 days ago | 8 months ago | |
PHP | PHP | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Requests
-
API Client Design Across Languages - Part 2 - Making Requests
Like Node.js, the PHP ecosystem has quite a number of good HTTP request libraries. Guzzle is perhaps one of the most well known, but there are many other popular libraries out there. Luckily, PHP also has some interface standards around HTTP clients and messages, particularly PSR-7, PSR-17, and PSR-18,
HTTPlug
-
API Client Design Across Languages - Part 2 - Making Requests
Like Node.js, the PHP ecosystem has quite a number of good HTTP request libraries. Guzzle is perhaps one of the most well known, but there are many other popular libraries out there. Luckily, PHP also has some interface standards around HTTP clients and messages, particularly PSR-7, PSR-17, and PSR-18,
What are some alternatives?
Guzzle - Guzzle, an extensible PHP HTTP client
HTTPFul - A Chainable, REST Friendly, PHP HTTP Client. A sane alternative to cURL.
PHP VCR - Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
Retrofit - Retrofit implementation in PHP. A REST client for PHP.
Buzz - PHP's lightweight HTTP client
zend-diactoros
curl-impersonate-php - Curl-Impersonate-PHP is an implementation of the original project Curl-Impersonate, available at https://github.com/lwthiker/curl-impersonate, which introduces a specialized cURL build that can mimic the behavior of four major browsers. By using Curl-Impersonate-PHP, you can make HTTP requests from PHP using cURL but with headers and behavior that resemble Chrome, Firefox, Safari, or Microsoft Edge.
http-client - An advanced async HTTP client library for PHP, enabling efficient, non-blocking, and concurrent requests and responses.