fapi-cz / http-client
Library for making HTTP requests.
Installs: 96 528
Dependents: 1
Suggesters: 0
Security: 0
Stars: 9
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- php: >=8.1
- ext-curl: *
- ext-json: *
- composer/ca-bundle: ^1.4
- guzzlehttp/psr7: ^1.4 |^2.6
- psr/http-client: ^1.0
- psr/http-message: ^1.0 | ^2.0
- psr/log: ^3.0
Requires (Dev)
- guzzlehttp/guzzle: ^6.0 | ^7.0
- nette/di: ^3.1
- nette/tester: ^2.5
- orisai/coding-standard: ^3.10
- phpstan/phpstan: ^1.10
- phpstan/phpstan-nette: ^1.2
- phpstan/phpstan-strict-rules: ^1.5
- react/child-process: ^0.6.5
- react/http: ^1.9
- tracy/tracy: ^2.10
Suggests
- ext-curl: to use class CurlHttpClient
- ext-iconv: to use class BaseLoggingFormatter
- guzzlehttp/guzzle: to use class GuzzleHttpClient
- nette/di: to use class HttpClientExtension
- nette/tester: to use class CapturingHttpClient
- tracy/tracy: to use class LoggingHttpClient
README
Http client
This library is here to provide client for making HTTP requests. It allows mocking of the HTTP client, which is useful for testing.
Requirements
Library requires PHP 7.1 or higher.
Installation
The best way to install fapi-cz/http-client
is using Composer.
composer require fapi-cz/http-client
Documentation
Learn more in the documentation.