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

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

solcloud/http
=============

Basic low level HTTP Request, Response envelopes

v1.1.1(3y ago)01453MITPHPPHP &gt;= 7.1

Since Sep 27Pushed 3y ago1 watchersCompare

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

READMEChangelog (5)DependenciesVersions (7)Used By (3)

HTTP
====

[](#http)

Http *Request* and *Response* object, *IRequestDownloader* interface and *HttpException* base class. For curl implementation see

Request
-------

[](#request)

```
$request = new \Solcloud\Http\Request();
$request
    ->setUrl('https://www.google.com/')
    ->setConnectionTimeoutSec(1)
    ->setRequestTimeoutSec(2)
    ->setHeaders([
        'X-header: x-value',
    ])
    ->setReferer('about:blank')
    ->setUserAgent('solcloud-curl')
;
```

Response
--------

[](#response)

```
$response = new \Solcloud\Http\Response();
$response->setBody('response body');
$response->setStatusCode(200);
```

Interface
---------

[](#interface)

```
interface IRequestDownloader
{

    public function fetchResponse(Request $request): Response;
}
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity50

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

Recently: every ~58 days

Total

6

Last Release

1445d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9e0e242163eae88198c915a9f34d9d18e4ac5c85b939e039189f91d918b242fe?d=identicon)[solcloud](/maintainers/solcloud)

---

Top Contributors

[![solcloud](https://avatars.githubusercontent.com/u/74121353?v=4)](https://github.com/solcloud "solcloud (11 commits)")

---

Tags

http

### Embed Badge

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

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

###  Alternatives

[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

8.0k1.0B3.2k](/packages/guzzlehttp-psr7)[psr/http-message

Common interface for HTTP messages

7.1k1.0B5.5k](/packages/psr-http-message)[psr/http-factory

PSR-17: Common interfaces for PSR-7 HTTP message factories

1.9k692.9M1.9k](/packages/psr-http-factory)[php-http/httplug

HTTPlug, the HTTP client abstraction for PHP

2.6k307.6M679](/packages/php-http-httplug)[psr/http-client

Common interface for HTTP clients

1.7k680.7M2.1k](/packages/psr-http-client)[symfony/http-client

Provides powerful methods to fetch HTTP resources synchronously or asynchronously

2.0k314.0M3.4k](/packages/symfony-http-client)

PHPackages © 2026

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