dypa/phpmulticurl

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

3.0.0 2017-02-03 20:32 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.6.0
  • ext-curl
  • safe_mode = Off

Installation via composer:

  • install composer
  • run composer require dypa/phpMultiCurl

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-* coding standards.

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

$ php-cs-fixer fix src/