PHPackages                             edgetelemetrics/reactphp-http-browser-curl - 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. edgetelemetrics/reactphp-http-browser-curl

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

edgetelemetrics/reactphp-http-browser-curl
==========================================

An async http client using Curl

v0.3.3(6mo ago)11.1k1MITPHPPHP ^8.2

Since Nov 25Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/lucasnetau/reactphp-http-browser-curl)[ Packagist](https://packagist.org/packages/edgetelemetrics/reactphp-http-browser-curl)[ RSS](/packages/edgetelemetrics-reactphp-http-browser-curl/feed)WikiDiscussions main Synced today

READMEChangelog (7)Dependencies (9)Versions (8)Used By (1)

reactphp-http-browser-curl
==========================

[](#reactphp-http-browser-curl)

Implementation of an Async HTTP client using CURL.

\*\*\* NOTE \*\*\* This is a work in progress, Not 100% compatible replacement for ReactPHP Browser

Why not use package react/http Browser?
---------------------------------------

[](#why-not-use-package-reacthttp-browser)

Using cURL allows for HTTP/2+3, connection pooling (with keep-alive), and the extraction of timing data for the requests. This functionality is not available though the ReactPHP Browser implementation

Requirements
------------

[](#requirements)

The package is compatible with PHP 8.2+ and requires the cURL extension and [react/event-loop](https://github.com/reactphp/http) library.

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

[](#installation)

You can add the library as project dependency using [Composer](https://getcomposer.org/):

```
composer require edgetelemetrics/reactphp-http-browser-curl
```

Examples
--------

[](#examples)

See [/examples](/examples) directory. Examples based on examples from reactphp/http under MIT License

Timing
------

[](#timing)

Request timing values are returned in the PSR7 Response object headers under the key [Server-Timing](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Server-Timing)

Configuration
-------------

[](#configuration)

The Browser can be configured with standard CURLOPT\_\* parameters given via the constructor.

```
$browser = new Browser([
    CURLOPT_TIMEOUT => 20,
    CURLOPT_DOH_URL, 'https://1.1.1.1/dns-query',
    CURLOPT_DNS_SERVERS => '1.1.1.1',
]);
```

### Connection Reuse

[](#connection-reuse)

Each instance of Browser shares a Connection pool, DNS cache, SSL cache, and Cookie Jar. An example of this can be seen in [/examples/connection\_pooling.php](/examples/connection_pooling.php) script.

Connection Metadata
-------------------

[](#connection-metadata)

### Connection Timing

[](#connection-timing)

The request/response timing is provided though the header '`ServerTiming`' in the Response object.

Each timing point is defined as `;dur=`

- namelookup\_time
- connect\_time
- appconnect\_time
- pretransfer\_time
- redirect\_time
- starttransfer\_time
- total\_time

### Connection Details

[](#connection-details)

Additional request/response metadata is provided though the header '`X-Connection`' in the Response object.

Key/Value pairs are as follows:

- effective\_url=``
- connection;count=``
- redirect;count=``
- upload;size=``;speed=``
- download;size=``;speed=``

License
-------

[](#license)

MIT, see [LICENSE file](LICENSE).

### Contributing

[](#contributing)

Bug reports (and small patches) can be submitted via the [issue tracker](https://github.com/lucasnetau/reactphp-http-browser-curl/issues). Forking the repository and submitting a Pull Request is preferred for substantial patches.

###  Health Score

43

—

FairBetter than 89% of packages

Maintenance78

Regular maintenance activity

Popularity19

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~187 days

Recently: every ~109 days

Total

7

Last Release

194d ago

PHP version history (2 changes)v0.0.1-alphaPHP ^8.1

v0.1PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9331242?v=4)[James Lucas](/maintainers/lucasnetau)[@lucasnetau](https://github.com/lucasnetau)

---

Top Contributors

[![lucasnetau](https://avatars.githubusercontent.com/u/9331242?v=4)](https://github.com/lucasnetau "lucasnetau (47 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/edgetelemetrics-reactphp-http-browser-curl/health.svg)

```
[![Health](https://phpackages.com/badges/edgetelemetrics-reactphp-http-browser-curl/health.svg)](https://phpackages.com/packages/edgetelemetrics-reactphp-http-browser-curl)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[ccxt/ccxt

A cryptocurrency trading API with more than 100 exchanges in JavaScript / TypeScript / Python / C# / PHP / Go

43.2k341.0k1](/packages/ccxt-ccxt)[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

8.0k1.1B4.0k](/packages/guzzlehttp-psr7)[algolia/algoliasearch-client-php

API powering the features of Algolia.

69735.1M159](/packages/algolia-algoliasearch-client-php)[gotenberg/gotenberg-php

A PHP client for interacting with Gotenberg, a developer-friendly API for converting numerous document formats into PDF files, and more!

3856.2M31](/packages/gotenberg-gotenberg-php)[oat-sa/tao-core

TAO core extension

66143.7k124](/packages/oat-sa-tao-core)

PHPackages © 2026

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