lefuturiste / httper
A file_get_contents based, PSR-7 http client.
v0.4-alpha
2018-07-08 11:45 UTC
Requires
- league/uri-parser: ^1.4
- psr/http-message: ^1.0
Requires (Dev)
- phpunit/phpunit: ^7.2
This package is auto-updated.
Last update: 2024-12-20 08:45:46 UTC
README
A file_get_contents based, PSR-7 http client.
Installation
composer require lefuturiste/httper
Usage
//execute a simple GET request to google.com $client = new Httper\Client(); $response = $client->request("GET", "https://google.com")
Tests
composer test
or
composer run test
or
composer run phpunit