PHPackages                             appstract/lush-http - 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. appstract/lush-http

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

appstract/lush-http
===================

Smart Http Client for PHP.

0.5.5(6y ago)611.7M↑61.9%2[1 issues](https://github.com/appstract/lush-http/issues)2MITPHPPHP &gt;=5.6

Since Feb 13Pushed 6y ago5 watchersCompare

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

READMEChangelog (5)Dependencies (2)Versions (32)Used By (2)

Lush Http
=========

[](#lush-http)

[![Latest Version on Packagist](https://camo.githubusercontent.com/41fbe0470e03d465a8bb2ae69eb980f87754aa44aca16305b8920637f69b1c10/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6170707374726163742f6c7573682d687474702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/appstract/lush-http)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/8a50caf71748543020bf39b0a5160c5b0ee50a9311b99dd994fe2c9a50dcb97f/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6170707374726163742f6c7573682d687474702f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/appstract/lush-http)[![Total Downloads](https://camo.githubusercontent.com/243a6ec643513546f9f9775e4b24cf6f20b080dd37c67869c74a0e518667d831/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6170707374726163742f6c7573682d687474702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/appstract/lush-http)

Smart Http Client for PHP.
--------------------------

[](#smart-http-client-for-php)

Lush is a small Http client that focuses on the most basic use cases. It also tries to format the responses to objects, so you don't have to. This makes Lush great for API requests.

Lush can be installed in any PHP application through composer, but has some extras when used in combination with Laravel.

### Wip

[](#wip)

This package is still in development, you are free to try it, without any warranty.

Todo

- Support cookies
- Docs

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

[](#requirements)

- PHP 5.6+
- php\_curl

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

[](#installation)

You can install the package via composer:

```
composer require appstract/lush-http
```

Usage
-----

[](#usage)

The most basic usage:

```
    // Create a new instance
    $lush = new Lush();

    // Make a requests
    $response = $lush->url('http://example.com', ['id' => 3])
                        ->headers(['X-some-header' => 'some-value'])
                        ->get(); // Method (get, post, put, etc.)

    // Response returns JSON or XML?
    // then you can directly access it's properties
    echo $response->name;
```

Link to the docs will be added soon!

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

[](#contributing)

Contributions are welcome, [thanks to y'all](https://github.com/appstract/lush-http/graphs/contributors) :)

About Appstract
---------------

[](#about-appstract)

Appstract is a small team from The Netherlands. We create (open source) tools for webdevelopment and write about related subjects on [Medium](https://medium.com/appstract). You can [follow us on Twitter](https://twitter.com/teamappstract), [buy us a beer](https://www.paypal.me/teamappstract/10) or [support us on Patreon](https://www.patreon.com/appstract).

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity51

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.4% 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 ~28 days

Recently: every ~136 days

Total

30

Last Release

2547d ago

PHP version history (2 changes)0.0.1PHP ^7.0

0.0.2PHP &gt;=5.6

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1470623?v=4)[Gijs Jorissen](/maintainers/gizburdt)[@gizburdt](https://github.com/gizburdt)

![](https://avatars.githubusercontent.com/u/377001?v=4)[Ronald Krentz](/maintainers/Rokr)[@rokr](https://github.com/rokr)

![](https://avatars.githubusercontent.com/u/3015449?v=4)[Olav van Schie](/maintainers/ovanschie)[@ovanschie](https://github.com/ovanschie)

![](https://avatars.githubusercontent.com/u/17406280?v=4)[Teun de Kleijne](/maintainers/teuunn)[@teuunn](https://github.com/teuunn)

---

Top Contributors

[![ovanschie](https://avatars.githubusercontent.com/u/3015449?v=4)](https://github.com/ovanschie "ovanschie (136 commits)")[![gizburdt](https://avatars.githubusercontent.com/u/1470623?v=4)](https://github.com/gizburdt "gizburdt (3 commits)")[![gentcys](https://avatars.githubusercontent.com/u/10412450?v=4)](https://github.com/gentcys "gentcys (2 commits)")[![teuunn](https://avatars.githubusercontent.com/u/17406280?v=4)](https://github.com/teuunn "teuunn (2 commits)")[![smokills](https://avatars.githubusercontent.com/u/7535708?v=4)](https://github.com/smokills "smokills (1 commits)")

---

Tags

curlhttp-clientlushphphttpphpclientcurlappstractlush-httplush

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/appstract-lush-http/health.svg)

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

###  Alternatives

[smi2/phpclickhouse

PHP ClickHouse Client

84310.1M71](/packages/smi2-phpclickhouse)[swlib/saber

Swoole coroutine HTTP client

985145.0k27](/packages/swlib-saber)[khr/php-mcurl-client

wrap curl client (http client) for PHP 5.3; using php multi curl, parallel request and write asynchronous code

71219.8k6](/packages/khr-php-mcurl-client)

PHPackages © 2026

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