PHPackages                             rnr1721/le7-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. [Framework](/categories/framework)
4. /
5. rnr1721/le7-http-client

ActiveLibrary[Framework](/categories/framework)

rnr1721/le7-http-client
=======================

PSR Http-client for le7 PHP MVC framework or any PSR project

1.0.1(2y ago)019MITPHPPHP &gt;=8.1

Since May 22Pushed 2y ago1 watchersCompare

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

READMEChangelogDependencies (8)Versions (3)Used By (0)

le7-http-client
===============

[](#le7-http-client)

Http client client for le7 PHP MVC framework or any PSR project This is an simple PSR http-client implementation

API Request Utility
===================

[](#api-request-utility)

This project provides HTTP clients that uses Curl and standard PHP functions to make requests.

What it can?
------------

[](#what-it-can)

- Create HTTP requests using cURL
- Create HTTP requests using standard PHP tools

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

[](#requirements)

- PHP 8.0 or higher
- Composer (for installing dependencies)

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

[](#installation)

1. Install via composer:

```
composer require rnr1721/le7-http-client
```

Testing
-------

[](#testing)

```
composer test
```

Usage
-----

[](#usage)

In this example, I use Nyholm PSR library, but you can use any, Guzzle for example

### Get ClientInterface object (httpClient)

[](#get-clientinterface-object-httpclient)

```
use Nyholm\Psr7\Factory\Psr17Factory;
use Core\HttpClient\HttpClientCurl;
use Core\HttpClient\HttpClientDefault;

// Create PSR factories. Nyholm realisation is a single factory to all
$psr17Factory = new Psr17Factory();

// Get Curl http client
$httpClientCurl = new HttpClientCurl(
    $psr17Factory // ResponseFactoryInterface
)

// Or if need get PHP http client
$httpClientPhp = new HttpClientDefault(
    $psr17Factory // ResponseFactoryInterface
)

// now we can use it:

$request = $psr17Factory->createRequest('GET', 'http://tnyholm.se');

$response = $httpClientCurl->sendRequest($request);
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Total

2

Last Release

1081d ago

### Community

Maintainers

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

---

Top Contributors

[![rnr1721](https://avatars.githubusercontent.com/u/122087344?v=4)](https://github.com/rnr1721 "rnr1721 (1 commits)")

---

Tags

requestframeworkcomponentle7le7-framework

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[cakephp/cakephp

The CakePHP framework

8.8k18.5M1.6k](/packages/cakephp-cakephp)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)

PHPackages © 2026

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