Curl HTTP Client

Curl adapter for a simple scraping implementation


Curl Adapter will allow to use the built in php CURL extension. This adapter fully supports proxies and cookies

Installation

The client is available with the package serps/http-client-curl:

$ composer require 'serps/http-client-curl'

Additional requirement

This http client requires you to install the Curl php extension

Warning ! It appears that before version 7.48 of curl a bug affects the cookie management. Make sure that the version of curl on your system is >=7.48 (curl --version to check).

Usage

use Serps\HttpClient\PhantomJsClient;

$client = new CurlClient();