2017 © Pedro Peláez
 

library phpmulticurl

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

image

dypa/phpmulticurl

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

  • Friday, February 3, 2017
  • by dypa
  • Repository
  • 2 Watchers
  • 7 Stars
  • 1,726 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 5 Forks
  • 0 Open issues
  • 6 Versions
  • 7 % Grown

The README.md

PhpMultiCurl

Latest Stable Version License Total Downloads, (*1)

Ultra fast non-blocking OOP wrapper for curl_multi_* functions., (*2)

Pull requests are very welcome., (*3)

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
  • few tests, no docs :( sorry :(

Requires:

  • php >= 7.1
  • ext-curl
  • safe_mode = Off

Installation via Composer:

  • install Composer
  • run composer require dypa/phpMultiCurl

Tests

$ vendor/bin/phpunit tests

# or via Docker
$ docker run --rm \
             -it \
             -v "$(pwd)":/app \
             -w /app \
             php:7.1 \
             /usr/local/bin/php ./vendor/phpunit/phpunit/phpunit tests
$ docker run --rm \
             -it \
             -v "$(pwd)":/app \
             -w /app \
             php:7.2 \
             /usr/local/bin/php ./vendor/phpunit/phpunit/phpunit tests
$ docker run --rm \
             -it \
             -v "$(pwd)":/app \
             -w /app \
             php:7.3 \
             /usr/local/bin/php ./vendor/phpunit/phpunit/phpunit tests
$ docker run --rm \
             -it \
             -v "$(pwd)":/app \
             -w /app \
             php:7.4 \
             /usr/local/bin/php ./vendor/phpunit/phpunit/phpunit tests

Examples

Contributing

Fork the project, create a feature branch and send us a pull request., (*4)

To ensure a consistent code base, you should make sure the code follows the PSR-* coding standards., (*5)

To avoid CS issues, you should use php-cs-fixer:, (*6)

$ php-cs-fixer fix src/

The Versions

03/02 2017

dev-master

9999999-dev

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

  Sources   Download

MIT

The Requires

  • ext-curl *
  • php >=5.6.0

 

by Avatar dypa

curl http requests parallel multi multicurl phpmulticurl

03/02 2017

3.0.0

3.0.0.0

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

  Sources   Download

MIT

The Requires

  • ext-curl *
  • php >=5.6.0

 

by Avatar dypa

curl http requests parallel multi multicurl phpmulticurl

17/07 2014

2.1.1

2.1.1.0

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

  Sources   Download

MIT

The Requires

  • ext-curl *
  • php >=5.4.0

 

by Avatar dypa

curl http async requests parallel spider multi multicurl phpmulticurl

02/03 2014

2.1

2.1.0.0

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

  Sources   Download

MIT

The Requires

  • ext-curl *
  • php >=5.3.0

 

by Avatar dypa

curl http async requests parallel spider multi multicurl phpmulticurl

15/02 2014

2.0.1

2.0.1.0

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

  Sources   Download

MIT

The Requires

  • ext-curl *
  • php >=5.3.0

 

by Avatar dypa

curl http async requests parallel spider multi multicurl phpmulticurl

01/02 2014

2.0

2.0.0.0

.

  Sources   Download

MIT

The Requires

  • ext-curl *
  • php >=5.3.0

 

by Avatar dypa

curl http phpmulticurl multi curl