Download the PHP package pronamic/wp-http without Composer
On this page you can find all versions of the php package pronamic/wp-http. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package wp-http
WordPress HTTP
WordPress HTTP library.
Usage
Testing
Faking Responses
PHPUnit
CR LF
To store fake HTTP responses in *.http
files and Git, keep the following in mind:
HTTP/1.1 defines the sequence CR LF as the end-of-line marker for all protocol elements
https://tools.ietf.org/html/rfc2616#section-2.2
.gitattributes
You can use a tool like unix2dos
to convert the line endings to CR LF:
If the line endings are not correct this can result in the following error:
Inspiration
- https://github.com/WordPress/WordPress/blob/5.7/wp-includes/class-http.php
- https://www.php-fig.org/psr/psr-7/
- https://github.com/guzzle/psr7
- https://github.com/jdgrimes/wp-http-testcase
- https://docs.guzzlephp.org/en/stable/testing.html
- https://github.com/guzzle/guzzle
- https://github.com/namshi/cuzzle
- https://docs.guzzlephp.org/en/stable/handlers-and-middleware.html
- https://laravel.com/docs/8.x/http-client#faking-responses
- https://www.php-fig.org/psr/psr-18/
All versions of wp-http with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
The package pronamic/wp-http contains the following files
Loading the files please wait ....