Download the PHP package paulzi/multicurl without Composer
On this page you can find all versions of the php package paulzi/multicurl. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package multicurl
MultiCurl
A wrappers over curl_multi_init.
This provide two class:
- MultiCurl - simple wrapper over curl_multi_init with events
- MultiCurlQueue - extended version of MultiCurl, with queue of requests, retry failed requests and multithreading.
Install
Install via Composer:
or add
to the require section of your composer.json file.
Usage
Documentation
MultiCurl
add($request)- add request to jobrun()- execute requestsonBefore($request)- on before execute request eventonSuccess($request, $response, $content)- on success request eventonError($request, $response, $content, $errCode, $errMsg)- on error request eventonAlways($request, $response, $content)- on always request event
MultiCurlQueue
run($requests)- execute requestsonBefore($request)- on before execute request eventonSuccess($request, $response, $content)- on success request eventonError($request, $response, $content, $errCode, $errMsg)- on error request eventonAlways($request, $response, $content)- on always request eventonRetry($request, $response, $content, $errCode, $errMsg, $retryIndex, $retryTotal)- on retry request event
MultiCurlRequest
$curl- curl resource$onBefore- on before execute request callback$onSuccess- on success request callback$onError- on error request callback$onAlways- on always request callback$onRetry- on retry request callback
All versions of multicurl with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
ext-curl Version *
ext-curl Version *
The package paulzi/multicurl contains the following files
Loading the files please wait ...