This project is archived! Use at your own caution.
SimplecURL is a simple and modern wrapper around PHP's ext-curl
.
$client = new SimplecURL\Client;
$res = $client->request('GET', 'http://127.0.0.1:8080/');
echo $res->getBody();
composer require simplecurl/simplecurl
Docs can be found in /docs
or at https://immaax.github.io/SimplecURL/.