PHPackages                             dypa/phpmulticurl - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [HTTP &amp; Networking](/categories/http)
4. /
5. dypa/phpmulticurl

ActiveLibrary[HTTP &amp; Networking](/categories/http)

dypa/phpmulticurl
=================

Ultra fast non-blocking OOP wrapper for curl\_multi\_\* functions.

4.0.0(6y ago)1530.5k↑75%7MITPHPPHP &gt;=7.3.10CI failing

Since Feb 1Pushed 6y ago2 watchersCompare

[ Source](https://github.com/dypa/phpmulticurl)[ Packagist](https://packagist.org/packages/dypa/phpmulticurl)[ RSS](/packages/dypa-phpmulticurl/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (7)Used By (0)

PhpMultiCurl
============

[](#phpmulticurl)

[![Latest Stable Version](https://camo.githubusercontent.com/42a315fa0d535332efdac7fcb7a2ecc7b2fd2f9020f86b4f90c09a6bffc2b772/68747470733a2f2f706f7365722e707567782e6f72672f647970612f7068706d756c74696375726c2f762f737461626c652e706e67)](https://packagist.org/packages/dypa/phpmulticurl)[![License](https://camo.githubusercontent.com/fa69cf82a41366ee90fccae5231bf54d71e7723cab0a5364980750cca6cc2c63/68747470733a2f2f706f7365722e707567782e6f72672f647970612f7068706d756c74696375726c2f6c6963656e73652e706e67)](https://packagist.org/packages/dypa/phpmulticurl)[![Total Downloads](https://camo.githubusercontent.com/514df6d2fdf417914e32ce03a60cebdb66d02d3a256be34ca3f40f8b14304122/68747470733a2f2f706f7365722e707567782e6f72672f647970612f7068706d756c74696375726c2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/dypa/phpmulticurl)

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

**Pull requests are very welcome.**

Main features:
--------------

[](#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:
---------

[](#requires)

- php &gt;= 7.1
- ext-curl
- safe\_mode = Off

Installation via [Composer](https://getcomposer.org):
-----------------------------------------------------

[](#installation-via-composer)

- install [Composer](https://getcomposer.org)
- run `composer require dypa/phpMultiCurl`

Tests
-----

[](#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
--------

[](#examples)

- [load many urls parallel](https://github.com/dypa/phpmulticurl/blob/master/examples/example0.php)
- [working with options and response](https://github.com/dypa/phpmulticurl/blob/master/examples/example1.php)
- [load urls in callbacks](https://github.com/dypa/phpmulticurl/blob/master/examples/example2.php)

Contributing
------------

[](#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-\*](http://www.php-fig.org/psr) coding standards.

To avoid CS issues, you should use [php-cs-fixer](http://cs.sensiolabs.org):

```
$ php-cs-fixer fix src/
```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 85.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~419 days

Recently: every ~521 days

Total

6

Last Release

2390d ago

Major Versions

2.1.1 → 3.0.02017-02-03

3.0.0 → 4.0.02019-11-01

PHP version history (4 changes)2.0PHP &gt;=5.3.0

2.1.1PHP &gt;=5.4.0

3.0.0PHP &gt;=5.6.0

4.0.0PHP &gt;=7.3.10

### Community

Maintainers

![](https://www.gravatar.com/avatar/9dad3105e9e4fa05b9fd014c086cfa50503cb103ab3432e5d288d9ddd95fb57b?d=identicon)[dypa](/maintainers/dypa)

---

Top Contributors

[![dypa](https://avatars.githubusercontent.com/u/80477?v=4)](https://github.com/dypa "dypa (6 commits)")[![nyamsprod](https://avatars.githubusercontent.com/u/51073?v=4)](https://github.com/nyamsprod "nyamsprod (1 commits)")

---

Tags

curlmulticurlphpcurlmulticurlphpmulticurlcurl\_multi\_select

### Embed Badge

![Health badge](/badges/dypa-phpmulticurl/health.svg)

```
[![Health](https://phpackages.com/badges/dypa-phpmulticurl/health.svg)](https://phpackages.com/packages/dypa-phpmulticurl)
```

###  Alternatives

[rmccue/requests

A HTTP library written in PHP, for human beings.

3.6k34.5M258](/packages/rmccue-requests)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48347.0M384](/packages/php-http-curl-client)[smi2/phpclickhouse

PHP ClickHouse Client

84310.1M71](/packages/smi2-phpclickhouse)[curl/curl

cURL class for PHP

32814.9M195](/packages/curl-curl)[meabed/php-parallel-soap

Multi curl SoapClient that allow to perform multiple requests to SoapServer

4389.1k](/packages/meabed-php-parallel-soap)[apimatic/unirest-php

Unirest PHP

224.7M116](/packages/apimatic-unirest-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
