PHPackages                             realconnex/http-request - 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. realconnex/http-request

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

realconnex/http-request
=======================

Realconnex request library.

0.0.4(7y ago)0393MITPHPPHP &gt;=7.2.7

Since Nov 8Pushed 7y agoCompare

[ Source](https://github.com/RealConnex/realconnex-request)[ Packagist](https://packagist.org/packages/realconnex/http-request)[ RSS](/packages/realconnex-http-request/feed)WikiDiscussions master Synced 2w ago

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

realconnex-request
==================

[](#realconnex-request)

Common library to make request

#### Installation

[](#installation)

```
$ composer require realconnex/http-request
```

#### Configuration

[](#configuration)

Register class as a service in service.yml

```
parameters:
    # flag indicates verification of hosts certificates
    verifyHost: '%env(bool:VERIFY_HOST)%'
    # web services names configuration
    webServices:
        green: '%env(string:SERVICE_DOMAIN_GREEN)%'
        blue: '%env(string:SERVICE_DOMAIN_BLUE)%'
        mc: '%env(string:SERVICE_DOMAIN_MC)%'
        feed: '%env(string:SERVICE_DOMAIN_FEED)%'
        mbau: '%env(string:SERVICE_DOMAIN_MBA)%'
        search: '%env(string:SERVICE_DOMAIN_SEARCH)%'
        email: '%env(string:SERVICE_DOMAIN_EMAIL)%'
        fapi: '%env(string:SERVICE_DOMAIN_FAPI)%'
        file: '%env(string:SERVICE_DOMAIN_FILE)%'
services:
    Realconnex\HttpRequest:
        arguments:
            $webServices: '%webServices%'
            $verifyHost: '%verifyHost%'
        public: true
```

#### Usage

[](#usage)

Inject package into you class

```
public function __construct(HttpRequest $httpRequest)
{
    $this->httpRequest = $httpRequest;
}
```

Send request

```
$response = $this->httpRequest->sendRequest(
    HttpServices::MC, // service you want to reach
    'api/v1/notifications', // uri
    HttpRequest::METHOD_POST, // method
    $payload // payload
);
```

#### Options

[](#options)

- `verifyHost` – flag allows to set Guzzle client “verify” option for SSL-certificates verification.
- `webServices` – specifies a list of web services in format “name:domain” which this service can work with.
- `processExceptions` – flag indicates if exceptions should be processed automatically.
- `parseJson` – flag specifies that response should be automatically parsed as JSON.
- `authToken` – JWT token string for header Authorization.
- `provideAuth` – flag allows to specify should service use Authorization header or not (could be used in chain of microservices).

###  Health Score

25

—

LowBetter than 36% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity50

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~49 days

Total

3

Last Release

2687d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1d9e9cdabe2972cb1cbf51b49f1b6265436d94287367d1a1ff082f024985004b?d=identicon)[Daniilm](/maintainers/Daniilm)

![](https://avatars.githubusercontent.com/u/5227807?v=4)[Paul](/maintainers/p-lebedev)[@p-lebedev](https://github.com/p-lebedev)

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

---

Top Contributors

[![lebedevrc](https://avatars.githubusercontent.com/u/39629333?v=4)](https://github.com/lebedevrc "lebedevrc (12 commits)")[![dbalayan](https://avatars.githubusercontent.com/u/39691251?v=4)](https://github.com/dbalayan "dbalayan (6 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/realconnex-http-request/health.svg)

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

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[illuminate/http

The Illuminate Http package.

11937.2M6.6k](/packages/illuminate-http)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3661.2M46](/packages/tencentcloud-tencentcloud-sdk-php)[dreamfactory/df-core

DreamFactory(tm) Core Components

1652.0k38](/packages/dreamfactory-df-core)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

252.5k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

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