Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A high performance PHP library for using multi curl for parallel http calls.

branch: master

Merge pull request #12 from Lewiscowles1986/master

Added simpler syntax usability for simply including getting instance and then adding URL's
latest commit 1efa155b6f
Jaisen Mathai authored
Octocat-spinner-32 EpiCurl.php fixed doof September 22, 2013
Octocat-spinner-32 README Update README September 22, 2013
Octocat-spinner-32 example.php Update example.php September 22, 2013
PHP-multi-curl is a high performance multi curl library which can be used to parallel http web service calls.  It has gone through various revisions and was most widely used as part of the twitter-async project.  It's the single most useful library I've written and has been integrated into various libraries for Twitter, Foursquare, Paypal and Mail Chimp.

One of the key aspects that differentiates it from many similar multi curl libraries is that it allows you to cherry pick responses.  You can fire off 10 http calls and retrieve results for a specific one without having to wait for all 10 to be completed.  If you rely heavily on web services (as I do) then it'll be a tool you can't live without.

  $mc = EpiCurl::getInstance();
  $yahoo = $mc->addURL('');
  $google = $mc->addURL('');

  echo "The response code for Yahoo! was {$yahoo->code} and Google was {$google->code}";

   * jmathai
   * Lewis Cowles (LewisCowles1986) - Usability for adding url's without needing to worry about CURL, but provisioning also for specifying additional parameters

Something went wrong with that request. Please try again.