Guzzle
You can add Guzzle as a
dependency using Composer.

require __DIR__ . '/vendor/autoload.php';
$client = new GuzzleHttp\Client();
$response = $client->request('GET', 'http://httpbin.org/get');
$json = json_decode($response->getBody());
echo $json->origin;
Api
The main benefits of using Guzzle over
cURL is the API it offers.

require __DIR__ . '/vendor/autoload.php';
use GuzzleHttp\Client;
use GuzzleHttp\Psr7\Request;
$client = new Client();
$request = new Request('GET', 'https://api.github.com/repos/guzzle/guzzle');
$promise = $client->sendAsync($request)->then(
function ($response) {
echo 'I completed! ' . $response->getBody();
}
);
$promise->wait();