PHPackages                             jleagle/curl-wrapper - 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. jleagle/curl-wrapper

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

jleagle/curl-wrapper
====================

An object oriented wrapper around cURL

1.0.0(10y ago)28.0k8MITPHPPHP &gt;=5.4

Since Nov 23Pushed 10y agoCompare

[ Source](https://github.com/Jleagle/curl-wrapper)[ Packagist](https://packagist.org/packages/jleagle/curl-wrapper)[ RSS](/packages/jleagle-curl-wrapper/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (10)Dependencies (1)Versions (12)Used By (8)

curl-wrapper
============

[](#curl-wrapper)

#### Using the helper

[](#using-the-helper)

```
$response = Curl::get(URL)->run();
$response = Curl::get(URL, ['k' => 'v'])->run();
```

#### Manually making a cURL request

[](#manually-making-a-curl-request)

```
$response = Request::i()
  ->setUrl(URL)
  ->setPost()
  ->setBasicAuth('username', 'password')
  ->setPostFields(['k' => 'v'])
  ->run();
```

#### Reading the response

[](#reading-the-response)

```
$response = Curl::get(URL)->run();

$connectTime = $response->getConnectTime();
$httpCode = $response->getHttpCode();
$error = $response->getErrorMessage();
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity65

Established project with proven stability

 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 ~5 days

Recently: every ~12 days

Total

11

Last Release

3775d ago

Major Versions

0.1.3 → 1.0.02016-01-13

### Community

Maintainers

![](https://www.gravatar.com/avatar/cd99212f53bfaee15e1c86440dacfc96d4f3d61a5a0101f3a48c1e87c51bee51?d=identicon)[Jleagle](/maintainers/Jleagle)

---

Top Contributors

[![Jleagle](https://avatars.githubusercontent.com/u/381099?v=4)](https://github.com/Jleagle "Jleagle (14 commits)")

---

Tags

curlhttpcurlwrapper

### Embed Badge

![Health badge](/badges/jleagle-curl-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/jleagle-curl-wrapper/health.svg)](https://phpackages.com/packages/jleagle-curl-wrapper)
```

###  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

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

PHP ClickHouse Client

83510.1M71](/packages/smi2-phpclickhouse)[stefangabos/zebra_curl

A high performance solution for making multiple HTTP requests concurrently, asynchronously from your PHP projects using cURL

21971.3k2](/packages/stefangabos-zebra-curl)[minicli/curly

Simple Curl Client

14262.4k5](/packages/minicli-curly)[bca/curl

cURL wrapper for PHP applications.

1144.0k](/packages/bca-curl)

PHPackages © 2026

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