dypa/phpmulticurl

Ultra fast non-blocking OOP wrapper for curl_multi_* functions.

Installs: 78

Dependents: 0

Stars: 7

Watchers: 1

Forks: 3

Language: PHP

2.1.1 2014-07-17 09:25 UTC

README

Latest Stable Version License Total Downloads

Ultra fast non-blocking OOP wrapper for curl_multi_* functions.

Pull requests are very welcome.

Main features:

  • reuse curl resource
  • don't waste time on unnecessary cycles, careful works with select function
  • simple queue management
  • fully configured! supports callbacks onLoad, onError, full control on http headers
  • simple usage

Requires:

  • php >= 5.4.0 (but recomended version is php >=5.5.0, it will give x4 perfomance boost)
  • ext-curl
  • safe_mode = Off

Installation via composer:

  • install composer
  • add in require section dypa/phpMultiCurl
  • run composer install

Examples

Contributing

Fork the project, create a feature branch and send us a pull request.

To ensure a consistent code base, you should make sure the code follows the PSR-1, PSR-2 and PSR-4 coding standards.

To avoid CS issues, you should use php-cs-fixer:

$ php-cs-fixer fix src/