2017 © Pedro Peláez
 

library easy-curl

most easy curl class of the PHP cURL extension.

image

easy-curl/easy-curl

most easy curl class of the PHP cURL extension.

  • Saturday, February 27, 2016
  • by moliniao
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

easycurl

There are a lot of popular of the PHP cURL extension wrapper, but these library interface is too complex.So create a more friendly and simple curl Library., (*1)

require __DIR__ . '/vendor/autoload.php';

use \Easycurl\Easycurl;

$curl = new Easycurl(array(
                /*
                    des: need fetch data of url
                    @var string
                    specify: must 
                */
                "url"=>"http://www.baidu.com",
                /*
                    des: set user agent
                    @var string
                    specify: option 
                */
                "userAgent"=>"",
                /*
                    des: fetch method
                    @var string
                    specify: option , default get
                */
                "method"=>"get",
                /*
                    des: set fetch request header
                    @var array
                    specify: option 
                */
                "header"=>array(
                    "Host" => "www.baidu.com",
                    "Connection" => "keep-alive",
                    "Accept-Encoding" => "gzip"
                ),
                /*
                    des: set referrer
                    @var string
                    specify: option 
                */
                "referrer"=>"",
                /*
                    des: set request data
                    @var array
                    specify: option 
                */
                "data"=> array()
            )
        );

$curl->start();

```php, (*2)

The Versions

27/02 2016

dev-master

9999999-dev https://github.com/moliniao/easycurl

most easy curl class of the PHP cURL extension.

  Sources   Download

Unlicense

The Requires

 

by Avatar moliniao

api curl framework php json xml rest http restful client class web service requests http client

27/02 2016

1.0.5

1.0.5.0 https://github.com/moliniao/easycurl

most easy curl class of the PHP cURL extension.

  Sources   Download

Unlicense

The Requires

 

by Avatar moliniao

api curl framework php json xml rest http restful client class web service requests http client

26/02 2016

1.0.2

1.0.2.0 https://github.com/moliniao/easycurl

most easy curl class of the PHP cURL extension.

  Sources   Download

Unlicense

The Requires

 

by Avatar moliniao

api curl framework php json xml rest http restful client class web service requests http client

25/02 2016

1.0.1

1.0.1.0 https://github.com/moliniao/easycurl

most easy curl class of the PHP cURL extension.

  Sources   Download

Unlicense

The Requires

 

by Avatar moliniao

api curl framework php json xml rest http restful client class web service requests http client

23/02 2016

1.0.0

1.0.0.0 https://github.com/moliniao/easycurl

most easy curl class of the PHP cURL extension.

  Sources   Download

Unlicense

The Requires

 

by Avatar moliniao

api curl framework php json xml rest http restful client class web service requests http client