PHPackages                             rakavai/curl-packs - 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. rakavai/curl-packs

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

rakavai/curl-packs
==================

Curl wrapper object in php

1.0.0(10y ago)020PHPPHP &gt;=5.3.0

Since Feb 24Pushed 10y ago1 watchersCompare

[ Source](https://github.com/rakavai/curl-lib-php)[ Packagist](https://packagist.org/packages/rakavai/curl-packs)[ Docs](https://github.com/rakavai/curl-lib-php)[ RSS](/packages/rakavai-curl-packs/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (2)Used By (0)

curl-lib-php
============

[](#curl-lib-php)

Curl wrapper in php. Multiple execution is also possible with CurlMulti in this repo.

\##Composer `composer require curl/curl`

### Quick Start and Examples

[](#quick-start-and-examples)

```
use CurlPacks\CurlOne;
```

```
$curl = new CurlOne("example.com");
$curl->execute(); //Default method is 'get'
$resposeBody = $curl->getBody();
```

```
$curl = new CurlOne("http://example.com");
$curl->setPostMethod();
$curl->setData(array(
  'name'=>'Rakibul Hasan'
));
$curl->setData('role',"Author");
$curl->execute();
$resposeBody = $curl->getBody();
```

```
$curl = new CurlOne("example.com");
$curl->execute();
$curl->setCookies("Key","Value");
$curl->setCookies("anotherKey=anotherWay");
$ccurl->setHeader("Cache-Control: max-age=0");
$resposeBody = $curl->getBody();
$resposeCookies=$curl->getCookiesWithKey() //Get all cookeis in array with key value
```

\##For multi executable curl

```
$allCurl = array();
for ($index = 0; $index < 10; $index++) {
  $allCurl[] = new CurlOne("example.com")->setPostMethod();
}
$multiCurl = new CurlMulti($allCurl);
$multiCurl->executeAllCurlObject();
foreach ($multiCurl->getAllCurlOneObj() as $key => $aCurl) {
  echo $aCurl->getWholeData().'\n'; //any CurlOne method
}
```

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

3778d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4639505?v=4)[Rakibul Hasan](/maintainers/rakavai)[@rakavai](https://github.com/rakavai)

---

Top Contributors

[![rakavai](https://avatars.githubusercontent.com/u/4639505?v=4)](https://github.com/rakavai "rakavai (25 commits)")

---

Tags

httpcurldot

### Embed Badge

![Health badge](/badges/rakavai-curl-packs/health.svg)

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

###  Alternatives

[rmccue/requests

A HTTP library written in PHP, for human beings.

3.6k36.3M275](/packages/rmccue-requests)[nategood/httpful

A Readable, Chainable, REST friendly, PHP HTTP Client

1.8k17.5M274](/packages/nategood-httpful)[mashape/unirest-php

Unirest PHP

1.3k9.9M163](/packages/mashape-unirest-php)[php-http/curl-client

PSR-18 and HTTPlug Async client with cURL

48348.5M435](/packages/php-http-curl-client)[smi2/phpclickhouse

PHP ClickHouse Client

84711.1M79](/packages/smi2-phpclickhouse)[curl/curl

cURL class for PHP

32815.6M206](/packages/curl-curl)

PHPackages © 2026

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