HTTPFul
A Chainable, REST Friendly, PHP HTTP Client. A sane alternative to cURL. (by nategood)
net
A small, modern, PSR-7 compatible PSR-17 and PSR-18 network library for PHP, inspired by Go's net package. (by miniaturebase)
Our great sponsors
HTTPFul | net | |
---|---|---|
2 | 2 | |
1,733 | 16 | |
- | - | |
0.0 | 5.2 | |
about 1 month ago | over 2 years ago | |
PHP | PHP | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
HTTPFul
Posts with mentions or reviews of HTTPFul.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-03-29.
-
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 your thoughts on HTTP clients? Toying around with a "new" (different) approach
I am curious how everyone feels about HTTP client packages in the PHP space, specifically packages like Guzzle, PHP HTTP, or HTTPful, etc.
net
Posts with mentions or reviews of net.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-07-17.
-
What are your thoughts on HTTP clients? Toying around with a "new" (different) approach
At the moment, given the proof-of-concept state of the library, you can't. I whipped this up over the weekend but have a few ideas as to how this would be done, but no real solid plans as of yet. One thing I know for sure, is that configuring it will still use the native PHP CURL*_* constants, maintaining the sentiment of "zero-configuration, all code/data". In other words, no home-grown array-based configs here. If you had input on the matter, I would love to hear your thoughts and ideas (just enabled the Discussions feature on the repo)!
What are some alternatives?
When comparing HTTPFul and net you can also consider the following projects:
Guzzle - Guzzle, an extensible PHP HTTP client
Requests - Requests for PHP is a humble HTTP request library. It simplifies how you interact with other sites and takes away all your worries.
zttp - A developer-experience focused HTTP client, optimized for most common use cases.
PHP VCR - Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
Buzz - PHP's lightweight HTTP client
zend-diactoros
Phi/Middleware
Retrofit - Retrofit implementation in PHP. A REST client for PHP.
guzzler - Supercharge your app or SDK with a testing library specifically for Guzzle
HTTPlug - HTTPlug, the HTTP client abstraction for PHP
JCRequest - Another Guzzle wrapper