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 4d 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 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity49

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

2641d 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

[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[omniphx/forrest

A Laravel library for Salesforce

2724.4M8](/packages/omniphx-forrest)[akamai-open/edgegrid-client

Implements the Akamai {OPEN} EdgeGrid Authentication specified by https://developer.akamai.com/introduction/Client\_Auth.html

482.5M6](/packages/akamai-open-edgegrid-client)[muhammadhuzaifa/telescope-guzzle-watcher

Telescope Guzzle Watcher provide a custom watcher for intercepting http requests made via guzzlehttp/guzzle php library. The package uses the on\_stats request option for extracting the request/response data. The watcher intercept and log the request into the Laravel Telescope HTTP Client Watcher.

98239.8k1](/packages/muhammadhuzaifa-telescope-guzzle-watcher)[onesignal/onesignal-php-api

A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com

34170.2k2](/packages/onesignal-onesignal-php-api)[ory/hydra-client-php

Documentation for all of Ory Hydra's APIs.

1710.8k](/packages/ory-hydra-client-php)

PHPackages © 2026

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