http-structured-fields
Requests
http-structured-fields | Requests | |
---|---|---|
3 | 2 | |
29 | 3,560 | |
- | 0.2% | |
7.7 | 7.8 | |
about 1 month ago | about 2 months ago | |
PHP | PHP | |
MIT License | GNU General Public License v3.0 or later |
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-structured-fields
- HTTP Structured Field 1.0.0 first stable version is out
-
Documenting namespaces for test code in composer.json
see for instance with https://github.com/bakame-php/http-structured-fields/tree/master/src
-
Handling HTTP Headers and Trailers in PHP
https://github.com/bakame-php/http-structured-fields this is the link to the package
Requests
- Do not upgrade to 6.4, it has a known bug
-
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-message - The purpose of this PSR is to provide a set of common interfaces for HTTP messages as described in RFC 7230 and RFC 7231
Guzzle - Guzzle, an extensible PHP HTTP client
Klein - A fast & flexible router
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.
ip - Immutable value object for IPv4 and IPv6 addresses, including helper methods and Doctrine support.
HTTPFul - A Chainable, REST Friendly, PHP HTTP Client. A sane alternative to cURL.
http-foundation - Defines an object-oriented layer for the HTTP specification
PHP VCR - Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.
http-kernel - Provides a structured process for converting a Request into a Response
Retrofit - Retrofit implementation in PHP. A REST client for PHP.
zend-diactoros
Buzz - PHP's lightweight HTTP client