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

ActiveLibrary

rdx/http
========

A simple HTTP wrapper around CURL, with request and response classes.

1.3(6y ago)0811MITPHP

Since Jun 19Pushed 6y agoCompare

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

READMEChangelogDependenciesVersions (5)Used By (1)

HTTP
====

[](#http)

Super simple, very imcomplete, very small wrapper around CURL.

If you need decent cookie handling, use Guzzle etc.

Request
-------

[](#request)

**GET**

```
use rdx\http\HTTP;

$request = HTTP::create('https://api.github.com/gists/public');
$response = $request->request();

```

**POST**

```
use rdx\http\HTTP;

HTTP::$_agent = 'Some custom user agent string 1.0';

$request = HTTP::create('https://api.github.com/gists/public', array(
	'method' => 'POST',
	'data' => array('foo' => 'bar'),
	'headers' => array(
		'Authorization: Basic abc',
	),
	'cookies' => array(
		array('name', 'value'),
	),
));
$response = $request->request();

```

Response
--------

[](#response)

```
var_dump($response->code);   // 200
var_dump($response->status); // OK

print_r($response->cookies_by_name);

```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity66

Established project with proven stability

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

Total

4

Last Release

2511d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/78549c1dc5c83ec0201c9afc66762c6d5bbf770291b12bae5a7a65350f950dba?d=identicon)[rudiedirkx](/maintainers/rudiedirkx)

---

Top Contributors

[![rudiedirkx](https://avatars.githubusercontent.com/u/168024?v=4)](https://github.com/rudiedirkx "rudiedirkx (12 commits)")

### Embed Badge

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

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

PHPackages © 2026

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