http-client
HTTPlug
http-client | HTTPlug | |
---|---|---|
2 | 1 | |
1,880 | 2,539 | |
0.8% | 0.4% | |
7.7 | 3.9 | |
5 days ago | about 2 months ago | |
PHP | PHP | |
MIT License | 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.
http-client
-
Does a generic third party api connector package exist? A swiss army knife for connecting to various apis?
I like this one personality: https://github.com/symfony/http-client
-
Another PHP 8++ cheat sheet
There are many ways but I prefer using the http-client package: composer require symfony/http-client.
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?
http-foundation - Defines an object-oriented layer for the HTTP specification
Guzzle - Guzzle, an extensible PHP HTTP client
illuminate-adapter - [READ-ONLY] An adapter for Laravel
Buzz - PHP's lightweight HTTP client
attoparsec-conduit - A streaming data library
PHP VCR - Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
saloon - 🤠Build beautiful API integrations and SDKs with Saloon
Retrofit - Retrofit implementation in PHP. A REST client for PHP.
php-ast - Extension exposing PHP 7 abstract syntax tree
http-client - An advanced async HTTP client library for PHP, enabling efficient, non-blocking, and concurrent requests and responses.
http-client-contracts - A set of HTTP client abstractions extracted out of the Symfony components
guzzler - Supercharge your app or SDK with a testing library specifically for Guzzle