PHPackages                             o2system/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. [Framework](/categories/framework)
4. /
5. o2system/curl

ActivePackage[Framework](/categories/framework)

o2system/curl
=============

PHP Lightweight HTTP Request Client Libraries

v2.2.0(6y ago)614.2k9MITPHPPHP ^7.2.0

Since Aug 3Pushed 6y ago4 watchersCompare

[ Source](https://github.com/o2system/curl)[ Packagist](https://packagist.org/packages/o2system/curl)[ RSS](/packages/o2system-curl/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (1)Versions (16)Used By (9)

[![alt text](https://repository-images.githubusercontent.com/68189900/0618cc80-5ca1-11ea-832d-7d26204da454 "O2System Curl Atom")](https://repository-images.githubusercontent.com/68189900/0618cc80-5ca1-11ea-832d-7d26204da454)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/d23080cad2a0fdf8b5f9028188570160f82297431bacd2933d044c467be91f13/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6f3273797374656d2f6375726c2f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/o2system/curl/?branch=master)[![Build Status](https://camo.githubusercontent.com/ba958cee285acbbbaeafc866eeaf8bf81ed60b07767cf94ef6ff1568bc4868ae/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6f3273797374656d2f6375726c2f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/o2system/curl/build-status/master)[![Latest Stable Version](https://camo.githubusercontent.com/f18a2c88aa512d2e65928f1ac8f001226fdde0f615e24754628f60965d1db500/68747470733a2f2f706f7365722e707567782e6f72672f6f3273797374656d2f6375726c2f762f737461626c65)](https://packagist.org/packages/o2system/curl)[![Total Downloads](https://camo.githubusercontent.com/6ba6ff773693089f96e5612c907588e8cad4ff7ba8d56e057304b545f11a7312/68747470733a2f2f706f7365722e707567782e6f72672f6f3273797374656d2f6375726c2f646f776e6c6f616473)](https://packagist.org/packages/o2system/curl)

O2System Curl
=============

[](#o2system-curl)

O2System Curl is a PHP Lightweight HTTP Request Client Library which is build for working more powerful with O2System Framework, but also can be used for integrated with others as standalone version with limited features.

Features
--------

[](#features)

- Utility methods to call GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH requests.
- Supports form parameters, file uploads and custom body entities.
- Supports gzip compression.
- Supports Basic, Digest, Negotiate, NTLM Authentication natively.
- Customizable timeout.
- Customizable default headers for every request (DRY).
- Automatic response parsing for JSON, XML, HTML and PHP Serialize Parsing into a native object.
- Multiple request support.

### Composer Instalation

[](#composer-instalation)

The best way to install O2System Curl is to use [Composer](https://getcomposer.org)

```
composer require o2system/curl

```

> Packagist:

### Usage

[](#usage)

```
use O2System\Curl;
use O2System\Kernel\Http\Message\Uri;

// Single Request
$request = new Curl\Request();
$request->setUri( new Uri() )->withHost( 'api.o2system.id' )->withPath( 'testing');

// Multi Request
$multirequest = new Curl\MultiRequest();
$multirequest->register( $request );

// Get single response
$response = $request->get();

// Get multiple responses
$responses = $multirequest->get();
```

Documentation is available on this repository [wiki](https://github.com/o2system/curl/wiki) or visit this repository [github page](https://o2system.github.io/curl).

### Ideas and Suggestions

[](#ideas-and-suggestions)

Please kindly mail us at [hello@o2system.id](mailto:hello@o2system.id%5D)

### Bugs and Issues

[](#bugs-and-issues)

Please kindly submit your [issues at Github](http://github.com/o2system/curl/issues) so we can track all the issues along development and send a [pull request](http://github.com/o2system/curl/pulls) to this repository.

### System Requirements

[](#system-requirements)

- PHP 7.2+ with (JSON, SimpleXML Extension)
- [Composer](https://getcomposer.org)
- [O2System Kernel](https://github.com/o2system/kernel)

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% 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 ~57 days

Recently: every ~68 days

Total

15

Last Release

2457d ago

PHP version history (3 changes)v2.0.0PHP &gt;=5.6.0

v2.1.43PHP ~7.2.0

v2.1.44PHP ^7.2.0

### Community

Maintainers

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

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

---

Top Contributors

[![steevenz](https://avatars.githubusercontent.com/u/218405?v=4)](https://github.com/steevenz "steevenz (35 commits)")[![turahe](https://avatars.githubusercontent.com/u/6832622?v=4)](https://github.com/turahe "turahe (3 commits)")[![o2system-codeworks](https://avatars.githubusercontent.com/u/293292195?v=4)](https://github.com/o2system-codeworks "o2system-codeworks (2 commits)")

---

Tags

phpframeworkdriverutilitieslibraries

### Embed Badge

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

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

###  Alternatives

[contao-community-alliance/dc-general

Universal data container for Contao

1680.8k91](/packages/contao-community-alliance-dc-general)

PHPackages © 2026

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