PHPackages                             luongtran/http-adapter - 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. luongtran/http-adapter

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

luongtran/http-adapter
======================

Issue HTTP request for PHP 5.3+.

0.7.3(1y ago)0141MITPHPPHP &gt;=5.4.8

Since Aug 19Pushed 1y ago1 watchersCompare

[ Source](https://github.com/luongtran/http-adapter)[ Packagist](https://packagist.org/packages/luongtran/http-adapter)[ RSS](/packages/luongtran-http-adapter/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (17)Versions (5)Used By (1)

README
======

[](#readme)

[![Build Status](https://camo.githubusercontent.com/01726172fd4d2a6f560dd3549117973059e0ff8dde5d6b448076346b513beab1/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6567656c6f656e2f69766f72792d687474702d616461707465722e706e673f6272616e63683d6d6173746572)](http://travis-ci.org/egeloen/ivory-http-adapter)[![Coverage Status](https://camo.githubusercontent.com/023ff08c9c97eef146f2c2db821d45172b9e06edb5c6c2b84e92577aad1c05b3/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6567656c6f656e2f69766f72792d687474702d616461707465722f62616467652e706e673f6272616e63683d6d6173746572)](https://coveralls.io/r/egeloen/ivory-http-adapter?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/065527d32c9555eb5df5ec477807c978c6efa85529957f1346e2edd35549b61b/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6567656c6f656e2f69766f72792d687474702d616461707465722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/egeloen/ivory-http-adapter/?branch=master)[![Dependency Status](https://camo.githubusercontent.com/380efdf80eae6985214c5ea967b0f3a2d52ffa10b7944431cd17b765adc0c86b/687474703a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f6567656c6f656e3a687474702d616461707465722f62616467652e737667)](http://www.versioneye.com/php/egeloen:http-adapter)

[![Latest Stable Version](https://camo.githubusercontent.com/08efa76394231bb1a78628a1ab32edaf61d7c7cdaa82ae62aa4837a552b6d301/68747470733a2f2f706f7365722e707567782e6f72672f6567656c6f656e2f687474702d616461707465722f762f737461626c652e737667)](https://packagist.org/packages/egeloen/http-adapter)[![Latest Unstable Version](https://camo.githubusercontent.com/0477791a53f0507a2fe58439687ee0b748a836ddb81727577aa24575559bfab2/68747470733a2f2f706f7365722e707567782e6f72672f6567656c6f656e2f687474702d616461707465722f762f756e737461626c652e737667)](https://packagist.org/packages/egeloen/http-adapter)[![Total Downloads](https://camo.githubusercontent.com/3dd65950f80ae7e3aaf80f33ad1520203e81b890ff45ac99bcf3871df2eb93f7/68747470733a2f2f706f7365722e707567782e6f72672f6567656c6f656e2f687474702d616461707465722f646f776e6c6f6164732e737667)](https://packagist.org/packages/egeloen/http-adapter)[![License](https://camo.githubusercontent.com/55ada615bdf204e87714a2268fb65724cd1a4c0199ad62390ea00398d6ec8185/68747470733a2f2f706f7365722e707567782e6f72672f6567656c6f656e2f687474702d616461707465722f6c6963656e73652e737667)](https://packagist.org/packages/egeloen/http-adapter)

The library allows to issue HTTP requests with PHP 5.4.8+. The supported adapters are:

- [Buzz](https://github.com/kriswallsmith/Buzz)
- [Cake](http://cakephp.org/)
- [cURL](http://curl.haxx.se/)
- [FileGetContents](http://php.net/manual/en/function.file-get-contents.php)
- [Fopen](http://php.net/manual/en/function.fopen.php)
- [Guzzle](http://guzzle3.readthedocs.org/)
- [GuzzleHttp](http://guzzle.readthedocs.org/)
- [Httpful](http://phphttpclient.com/)
- [React](http://reactphp.org/)
- [Socket](http://php.net/manual/en/function.stream-socket-client.php)
- [Zend1](http://framework.zend.com/manual/1.12/en/zend.http.html)
- [Zend2](http://framework.zend.com/manual/2.0/en/modules/zend.http.html)

Additionally, it follows the [PSR-7 Standard](https://github.com/php-fig/fig-standards/blob/master/proposed/http-message.md)which defines how http message should be implemented.

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

[](#documentation)

1. [Installation](/doc/installation.md)
2. [Adapters](/doc/adapters.md)
3. [Configuration](/doc/configuration.md)
4. [PSR-7](/doc/psr-7.md)
5. [Usage](/doc/usage.md)
6. [Events](/doc/events.md)

Cookbook
--------

[](#cookbook)

- [Log requests, responses and exceptions](/doc/events.md#logger)
- [Journalize requests and responses](/doc/events.md#history)
- [Throw exceptions for errored responses](/doc/events.md#status-code)
- [Retry errored requests](/doc/events.md#retry)
- [Follow redirects](/doc/events.md#redirect)
- [Manage cookies](/doc/events.md#cookie)

Testing
-------

[](#testing)

The library is fully unit tested by [PHPUnit](http://www.phpunit.de/) with a code coverage close to **100%**. To execute the test suite, check the travis [configuration](/.travis.yml).

Contribute
----------

[](#contribute)

We love contributors! The library is open source, if you'd like to contribute, feel free to propose a PR!

License
-------

[](#license)

The Ivory Http Adapter is under the MIT license. For the full copyright and license information, please read the [LICENSE](/LICENSE) file that was distributed with this source code.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance34

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity28

Early-stage or recently created project

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

Total

4

Last Release

626d ago

### Community

Maintainers

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

---

Top Contributors

[![luongtran](https://avatars.githubusercontent.com/u/1092657?v=4)](https://github.com/luongtran "luongtran (7 commits)")

---

Tags

httppsr-7http clienthttp-adapter

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/luongtran-http-adapter/health.svg)

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

###  Alternatives

[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

8.0k1.0B3.1k](/packages/guzzlehttp-psr7)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)[league/uri-interfaces

Common tools for parsing and resolving RFC3987/RFC3986 URI

538204.9M23](/packages/league-uri-interfaces)[laminas/laminas-diactoros

PSR HTTP Message implementations

546105.8M962](/packages/laminas-laminas-diactoros)[laminas/laminas-psr7bridge

Bidirectional conversions between PSR-7 and laminas-http messages

117.9M18](/packages/laminas-laminas-psr7bridge)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)

PHPackages © 2026

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