Download the PHP package riftfox/php-http-client without Composer
On this page you can find all versions of the php package riftfox/php-http-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download riftfox/php-http-client
More information about riftfox/php-http-client
Files in riftfox/php-http-client
Download riftfox/php-http-client
More information about riftfox/php-http-client
Files in riftfox/php-http-client
Vendor riftfox
Package php-http-client
Short Description A lightweight PSR-18 HTTP client wrapper allowing custom response transformation via result factories.
License MIT
Package php-http-client
Short Description A lightweight PSR-18 HTTP client wrapper allowing custom response transformation via result factories.
License MIT
Please rate this library. Is it a good library?
Informations about the package php-http-client
Riftfox PHP HTTP Client
A lightweight PSR-18 HTTP client wrapper allowing custom response transformation via result factories.
Requirements
- PHP >= 7.4
- A PSR-18 HTTP Client implementation (e.g., Guzzle, Symfony HttpClient)
- PSR-7 HTTP Message implementation
Installation
Usage
This library separates the HTTP transport (PSR-18) from the response processing logic (ResultFactory).
1. Create a Result and a Factory
Implement ResultInterface for your data object and ResultFactoryInterface to transform the PSR-7 response into that object.
2. Send a Request
Testing
Run the test suite with Codeception:
All versions of php-http-client with dependencies
PHP Build Version
Package Version
Requires
psr/http-client Version
^1.0
The package riftfox/php-http-client contains the following files
Loading the files please wait ...