2017 © Pedro Peláez
 

library php-curl-class

PHP Curl Class is an object-oriented wrapper of the PHP cURL extension.

image

marius321967/php-curl-class

PHP Curl Class is an object-oriented wrapper of the PHP cURL extension.

  • Saturday, November 21, 2015
  • by marius321967
  • Repository
  • 1 Watchers
  • 0 Stars
  • 9 Installations
  • PHP
  • 0 Dependents
  • 1 Suggesters
  • 562 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

PHP Curl Class that makes use of PHP interfaces., (*1)

Changes

MultiCurl's addGet, addPost, etc. calls changed to get, post and so on., (*2)

Regular Curl

// Our response.
$response = null;

// Single Curl request object.
$curl = new Curl();

// Bind success callback.
$curl->success(function($curl) use (&$response) {
    $response = $curl->response;
});

// Send the request.
$curl->get('http://example.com/');

echo $response;

Async Curl

// Our response.
$response = null;

// Async Curl handler.
$multiCurl = new MultiCurl();

// Add a get request to the queue, it returns the single request object.
$curl = $multiCurl->get('http://example.com/');

// Bind success callback.
$curl->success(function($curl) use (&$response) {
    $response = $curl->response;
});

// Execute all requests in the queue.
$multiCurl->start();

echo $response;

Notes

For other features, read the Original Package documentation., (*3)

The Versions

21/11 2015

dev-master

9999999-dev https://github.com/marius321967/php-curl-class

PHP Curl Class is an object-oriented wrapper of the PHP cURL extension.

  Sources   Download

Unlicense

The Requires

  • php >=5.3
  • ext-curl *

 

by Zach Borboa

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

29/07 2015

4.0.0

4.0.0.0 https://github.com/marius321967/php-curl-class

PHP Curl Class is an object-oriented wrapper of the PHP cURL extension.

  Sources   Download

Unlicense

The Requires

  • php >=5.3
  • ext-curl *

 

by Zach Borboa

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

24/04 2015

3.5.5

3.5.5.0 https://github.com/php-curl-class/php-curl-class

PHP Curl Class is an object-oriented wrapper of the PHP cURL extension.

  Sources   Download

Unlicense

The Requires

  • php >=5.3
  • ext-curl *

 

The Development Requires

by Zach Borboa

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

01/04 2015

3.4.4

3.4.4.0 https://github.com/php-curl-class/php-curl-class

PHP Curl Class is an object-oriented wrapper of the PHP cURL extension.

  Sources   Download

Unlicense

The Requires

  • php >=5.3
  • ext-curl *

 

The Development Requires

by Zach Borboa

curl php class

31/03 2015

3.4.3

3.4.3.0 https://github.com/php-curl-class/php-curl-class

PHP Curl Class is an object-oriented wrapper of the PHP cURL extension.

  Sources   Download

Unlicense

The Requires

  • php >=5.3
  • ext-curl *

 

The Development Requires

by Zach Borboa

curl php class

18/12 2014

2.1.1

2.1.1.0 https://github.com/php-curl-class/php-curl-class

PHP Curl Class is an object-oriented wrapper of the PHP cURL extension.

  Sources   Download

Unlicense

The Requires

  • php >=5.3
  • ext-curl *

 

The Development Requires

curl php class

07/07 2014

2.1.0

2.1.0.0 https://github.com/php-curl-class/php-curl-class

PHP Curl Class is an object-oriented wrapper of the PHP cURL extension.

  Sources   Download

Unlicense

The Requires

  • php >=5.3
  • ext-curl *

 

The Development Requires

curl php class

12/04 2014

2.0.0

2.0.0.0

PHP Curl Class is an object-oriented wrapper of the PHP cURL extension.

  Sources   Download