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. [HTTP &amp; Networking](/categories/http)
4. /
5. rdx/http

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

rdx/http
========

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

1.3(7y ago)0811MITPHP

Since Jun 19Pushed 7y agoCompare

[ Source](https://github.com/rudiedirkx/http)[ Packagist](https://packagist.org/packages/rdx/http)[ RSS](/packages/rdx-http/feed)WikiDiscussions master Synced 4w 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 57% 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

2558d 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)
```

###  Alternatives

[php-http/cache-plugin

PSR-6 Cache plugin for HTTPlug

25025.5M80](/packages/php-http-cache-plugin)[illuminate/http

The Illuminate Http package.

11937.2M6.6k](/packages/illuminate-http)[rdkafka/rdkafka

A PHP extension for Kafka

2.2k20.0k1](/packages/rdkafka-rdkafka)[httpsoft/http-message

Strict and fast implementation of PSR-7 and PSR-17

87930.4k113](/packages/httpsoft-http-message)[mezzio/mezzio-router

Router subcomponent for Mezzio

265.3M84](/packages/mezzio-mezzio-router)[serpapi/google-search-results-php

Get Google, Bing, Baidu, Ebay, Yahoo, Yandex, Home depot, Naver, Apple, Duckduckgo, Youtube search results via SerpApi.com

69122.6k](/packages/serpapi-google-search-results-php)

PHPackages © 2026

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