PHPackages                             ossbrownie/http-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. ossbrownie/http-client

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

ossbrownie/http-client
======================

A simple HTTP client for sending HTTP requests and receiving responses based on CURL.

0.0.7(7y ago)02.2k2MITPHPPHP &gt;=5.5

Since Nov 30Pushed 7y agoCompare

[ Source](https://github.com/ossbrownie/http-client)[ Packagist](https://packagist.org/packages/ossbrownie/http-client)[ Docs](https://github.com/ossbrownie/http-client)[ RSS](/packages/ossbrownie-http-client/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (8)Used By (2)

HttpClient
==========

[](#httpclient)

[![License](https://camo.githubusercontent.com/fcd91dce50d6a130c0ed6603762749f89332866ad262aefec8b084a306d63be6/68747470733a2f2f706f7365722e707567782e6f72672f6f737362726f776e69652f687474702d636c69656e742f6c6963656e7365)](https://packagist.org/packages/ossbrownie/http-client)[![Latest Stable Version](https://camo.githubusercontent.com/38373a73ed1255e4ce048726a5d011bc85286c981f2aebc56c468f06c6c8656b/68747470733a2f2f706f7365722e707567782e6f72672f6f737362726f776e69652f687474702d636c69656e742f762f737461626c65)](https://packagist.org/packages/ossbrownie/http-client)[![Latest Unstable Version](https://camo.githubusercontent.com/664cc272857d6f656939f664400ccb5751121432279b6735cf8b974db7852bbf/68747470733a2f2f706f7365722e707567782e6f72672f6f737362726f776e69652f687474702d636c69656e742f762f756e737461626c65)](https://packagist.org/packages/ossbrownie/http-client)[![Total Downloads](https://camo.githubusercontent.com/ed31b8fdf520325105f61879b253c09c66783fcfeaa4725a2607c37d09c78e17/68747470733a2f2f706f7365722e707567782e6f72672f6f737362726f776e69652f687474702d636c69656e742f646f776e6c6f616473)](https://packagist.org/packages/ossbrownie/http-client)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/26d70abadb5f3d8c57223a6072d4459e09b4a783d53c75705ed2eb6862c8dbd5/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6f737362726f776e69652f687474702d636c69656e742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ossbrownie/http-client/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/379761f4b815adf5bba385496707cb94d4aece6d9dd694de8a151e9f56c86672/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6f737362726f776e69652f687474702d636c69656e742f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/ossbrownie/http-client/?branch=master)[![Code Intelligence Status](https://camo.githubusercontent.com/05262be5167973bcdfc568f96f02042efea25c25f1ca5e9e28bd152374b2bb17/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6f737362726f776e69652f687474702d636c69656e742f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/code-intelligence)[![Build Status](https://camo.githubusercontent.com/97aeff47e252c2f26ae94d18c64d2af763e1873ecd94249123656972f1cc026f/68747470733a2f2f7472617669732d63692e6f72672f6f737362726f776e69652f687474702d636c69656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ossbrownie/http-client)

[![PHP Version](https://camo.githubusercontent.com/804490ac33cee8308c898621148d65b91f174a754dc4698a074e74ca41d23a64/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253345253344352e352d627269676874677265656e2e737667)](https://php.net/)

A simple HTTP client for sending HTTP requests and receiving responses.

curl
----

[](#curl)

A basic CURL wrapper for PHP (see  for more information about the libcurl extension for PHP)

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

[](#requirements)

- **PHP** &gt;= 5.5
- **EXT-CURL** = \*
- **"ossbrownie/util"** = ~0.0.5

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

[](#installation)

Add a line to your "require" section in your composer configuration:

```
{
    "require": {
        "ossbrownie/http-client": "0.0.7"
    }
}
```

Documentation
-------------

[](#documentation)

- [Usage](https://github.com/ossbrownie/http-client/wiki/Usage) - Example of using the HttpClient

Tests
-----

[](#tests)

To run the test suite, you need install the dependencies via composer, then run PHPUnit.

```
$> composer.phar install
$> ./vendor/bin/phpunit --bootstrap ./tests/bootstrap.php ./tests
```

License
-------

[](#license)

HttpClient is licensed under the [MIT License](https://opensource.org/licenses/MIT)

Contact
-------

[](#contact)

Problems, comments, and suggestions all welcome:

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

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

Recently: every ~116 days

Total

7

Last Release

2603d ago

PHP version history (2 changes)0.0.1PHP &gt;=5.3

0.0.5PHP &gt;=5.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/95ddc0e4f15c2e3ddc54e453dda0664b9ae67fb06da8cbf70e197e40955e6d5b?d=identicon)[brownie](/maintainers/brownie)

---

Top Contributors

[![ossbrownie](https://avatars.githubusercontent.com/u/29150511?v=4)](https://github.com/ossbrownie "ossbrownie (23 commits)")

---

Tags

httpresponserequestclientcurlhttp clienthttpclientbrowniereceiving responses

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ossbrownie-http-client/health.svg)

```
[![Health](https://phpackages.com/badges/ossbrownie-http-client/health.svg)](https://phpackages.com/packages/ossbrownie-http-client)
```

###  Alternatives

[aplus/http-client

Aplus Framework HTTP Client Library

2161.6M1](/packages/aplus-http-client)[aura/http

The Aura HTTP package provides objects to build and send HTTP responses from the server to the client.

7338.8k4](/packages/aura-http)[pdeans/http

PSR-7 cURL HTTP client with support for PSR-17 HTTP factories.

1466.2k3](/packages/pdeans-http)[chillerlan/php-httpinterface

A PSR-7/17/18 http message/client implementation

1417.1k5](/packages/chillerlan-php-httpinterface)

PHPackages © 2026

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