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

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

lemonphp/http-client
====================

The lightweight PSR-18 compatible HTTP client with middleware support

v0.1.0(5y ago)224MITPHPPHP ^7.2CI failing

Since May 22Pushed 5y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (8)Versions (2)Used By (0)

HTTP Client
===========

[](#http-client)

[![Build Status](https://github.com/lemonphp/http-client/workflows/CI/badge.svg)](https://github.com/lemonphp/http-client/actions)[![Coverage Status](https://camo.githubusercontent.com/7225d292022b35b940a2d668684f28c2b06e8712c9802684054d2202c738e90e/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f6769746875622f6c656d6f6e7068702f687474702d636c69656e742f6d61737465722e737667)](https://coveralls.io/github/lemonphp/http-client)[![Latest Version](https://camo.githubusercontent.com/867b90a6eb6cbbc96977483d9adf5b3d485eb2546fa4a4af4484cfdb108e9a22/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c656d6f6e7068702f687474702d636c69656e742e7376673f6c6162656c3d6c617465737425323076657273696f6e)](https://packagist.org/packages/lemonphp/http-client)[![Total Downloads](https://camo.githubusercontent.com/454b8c723a82081afed72b7b5dde829518bb5389733162376b4eaad474d06cdc/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c656d6f6e7068702f687474702d636c69656e742e737667)](https://packagist.org/packages/lemonphp/http-client)[![Requires PHP](https://camo.githubusercontent.com/9f0998325574364ea661d6714ff07cb80212dd422334a936795d57adb4624b25/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6c656d6f6e7068702f687474702d636c69656e742e737667)](https://packagist.org/packages/lemonphp/http-client)[![Software License](https://camo.githubusercontent.com/e8658996c571adbe5ef9612797a9bfbc61edc76f0dba7346898f10176e31f847/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6c656d6f6e7068702f687474702d636c69656e742e737667)](LICENSE)

The lightweight [PRS-18](https://www.php-fig.org/psr/psr-18) compatible HTTP client with middleware support

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

[](#requirements)

- php &gt;=7.2
- ext-curl If use `CurlTransport`

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

[](#installation)

Begin by pulling in the package through Composer.

```
$ composer require lemonphp/http-client
```

Usage
-----

[](#usage)

// TODO

Changelog
---------

[](#changelog)

See all change logs in [CHANGELOG](CHANGELOG.md)

Testing
-------

[](#testing)

```
$ git clone git@github.com/lemonphp/http-client.git /path
$ cd /path
$ composer install
$ composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email to [Oanh Nguyen](mailto:oanhnn.bk@gmail.com) instead of using the issue tracker.

Credits
-------

[](#credits)

- [Oanh Nguyen](https://github.com/oanhnn)
- [All Contributors](../../contributors)

License
-------

[](#license)

This project is released under the MIT License.
Copyright © LemonPHP Team.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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

2184d ago

### Community

Maintainers

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

---

Top Contributors

[![oanhnn](https://avatars.githubusercontent.com/u/1757120?v=4)](https://github.com/oanhnn "oanhnn (17 commits)")

---

Tags

clienthttphttp-clientmiddlewarespsr-18psr-7transportshttppsr-7clienthttp clientpsr-18

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28137.8k](/packages/phpro-http-tools)[laudis/neo4j-php-client

Neo4j-PHP-Client is the most advanced PHP Client for Neo4j

184616.9k31](/packages/laudis-neo4j-php-client)[elastic/transport

HTTP transport PHP library for Elastic products

1920.6M7](/packages/elastic-transport)[amphp/http-client-psr7

PSR-7 adapter for Amp's HTTP client.

1454.7k4](/packages/amphp-http-client-psr7)[art4/requests-psr18-adapter

Use WordPress/Requests as a PSR-18 HTTP client

153.3k](/packages/art4-requests-psr18-adapter)[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)
