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(3y ago)020MITPHPPHP &gt;=8.1

Since May 22Pushed 3y 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 today

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 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

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

1135d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/122087344?v=4)[Eugeny G](/maintainers/rnr1721)[@rnr1721](https://github.com/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

[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[cakephp/cakephp

The CakePHP framework

8.9k19.5M1.8k](/packages/cakephp-cakephp)[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

8.0k1.1B4.0k](/packages/guzzlehttp-psr7)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[typo3/cms

TYPO3 CMS is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL.

1.2k1.9M122](/packages/typo3-cms)[telnyx/telnyx-php

Official Telnyx PHP SDK — APIs for Voice, SMS, MMS, WhatsApp, Fax, SIP Trunking, Wireless IoT, Call Control, and more. Build global communications on Telnyx's private carrier-grade network.

35789.4k2](/packages/telnyx-telnyx-php)

PHPackages © 2026

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