PHPackages                             efabrica/revolt-curl-client - 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. efabrica/revolt-curl-client

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

efabrica/revolt-curl-client
===========================

Implementation of Symfony's HttpClientInterface that combines multicurl with Revolt's async EventLoop

0.1.4(4mo ago)116.2k↓29.5%11MITPHPPHP ^8.1

Since Aug 21Pushed 4mo ago3 watchersCompare

[ Source](https://github.com/efabrica-team/revolt-curl-client)[ Packagist](https://packagist.org/packages/efabrica/revolt-curl-client)[ RSS](/packages/efabrica-revolt-curl-client/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (5)Versions (6)Used By (1)

Revolt Curl Client
==================

[](#revolt-curl-client)

This is a fork of `symfony/http-client`'s CurlClient that uses Revolt's async EventLoop to wait for the response instead of blocking the main thread.

This client was created because native PHP streams that are used by `amphp/http-client` are slow, as our applications were hanging on `stream_select()` a lot but they weren't hanging on `curl_multi_select()`. Reasons for this are unknown to us, but if you know, please share your knowledge and we will place it in this README.

It uses Symfony's @internal classes, so it might break on minor Symfony versions. We will rush to fix it if it does.

Installation
------------

[](#installation)

```
composer require efabrica/revolt-curl-client
```

Usage
-----

[](#usage)

```
use Efabrica\RevoltCurlClient\RevoltCurlClient;

$client = new RevoltCurlClient();
$f1 = async(function () use ($client) {
    echo "Request 1\n";
    $response = $client->request('GET', 'https://httpbin.org/get?1');
    $response->getContent();
    echo "Request 2\n";
    $response2 = $client->request('GET', 'https://httpbin.org/get?2');
    $response2->getContent();
});
$f2 = async(function () use ($client) {
    echo "Request 3\n";
    $response = $client->request('GET', 'https://httpbin.org/get?3');
    $response->getContent();
    echo "Request 4\n";
    $response2 = $client->request('GET', 'https://httpbin.org/get?4');
    $response2->getContent();
});
await([$f1, $f2]);

// Outputs:
// Request 1
// Request 3
// Request 2
// Request 4
```

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance74

Regular maintenance activity

Popularity28

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 77.8% 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 ~121 days

Total

5

Last Release

145d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/25289c62a88df1c404543693ba52e44748dbce486bcfab91fc8c5931a6bb38e1?d=identicon)[dev-efabrica](/maintainers/dev-efabrica)

---

Top Contributors

[![riki137](https://avatars.githubusercontent.com/u/1223388?v=4)](https://github.com/riki137 "riki137 (7 commits)")[![lulco](https://avatars.githubusercontent.com/u/9377319?v=4)](https://github.com/lulco "lulco (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/efabrica-revolt-curl-client/health.svg)

```
[![Health](https://phpackages.com/badges/efabrica-revolt-curl-client/health.svg)](https://phpackages.com/packages/efabrica-revolt-curl-client)
```

###  Alternatives

[amphp/http-server

A non-blocking HTTP application server for PHP based on Amp.

1.3k4.5M81](/packages/amphp-http-server)[amphp/http-client

An advanced async HTTP client library for PHP, enabling efficient, non-blocking, and concurrent requests and responses.

7286.8M137](/packages/amphp-http-client)[amphp/redis

Efficient asynchronous communication with Redis servers, enabling scalable and responsive data storage and retrieval.

165634.7k44](/packages/amphp-redis)[amphp/websocket-client

Async WebSocket client for PHP based on Amp.

1613.0M39](/packages/amphp-websocket-client)[amphp/websocket

Shared code for websocket servers and clients.

453.1M9](/packages/amphp-websocket)[amphp/websocket-server

Websocket server for Amp's HTTP server.

124265.1k20](/packages/amphp-websocket-server)

PHPackages © 2026

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