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

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

jamm/http
=========

Objects to easy manipulate by HTTP-requests and responses

1.0.0(12y ago)20664MITPHPPHP &gt;=5.3.0

Since Apr 16Pushed 10y ago4 watchersCompare

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

READMEChangelog (1)DependenciesVersions (2)Used By (0)

HTTP
====

[](#http)

Objects to easy manipulate by HTTP-requests and responses

Example of sending request:

```
$Response = new Response();
$Request  = new Request();
$Request->setMethod(Request::method_POST);
$Request->setHeader('Authorization', 'auth_token');
$Request->setDataKey('some_post_key', 'some value');
$Request->Send('https://api.example.com', $Response);

print $Response->getBody();

```

\##Features **Headers in Request and Response are case-insensitive:**

```
$Request->setHeader('Authorization', 'token');
$Request->setHeader('authorization', 'auth_token');

// second line will not create new header and will update existing one
// $Request->getHeaders('AUTHORIZATION') will return:
// auth_token

```

**Body of response can be automatically unpacked from JSON or XML**

```
// next line will create header Accept: JSON in request,
// and body of response will be automatically decoded from JSON

$Response->setSerializer(new SerializerJSON());

```

**SSL support**
**Easy to test and extend**

\##License [MIT](http://en.wikipedia.org/wiki/MIT_License)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity58

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

Unknown

Total

1

Last Release

4415d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/27a19d7616678bc75505ded35bebf1b16d76a3586b103f4bf31f62c74646ba89?d=identicon)[OZ](/maintainers/OZ)

---

Top Contributors

[![e-oz](https://avatars.githubusercontent.com/u/526352?v=4)](https://github.com/e-oz "e-oz (63 commits)")

---

Tags

httpresponserequestjsonapirestajax

### Embed Badge

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

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

###  Alternatives

[aplus/http-client

Aplus Framework HTTP Client Library

2161.6M1](/packages/aplus-http-client)[elementaryframework/water-pipe

URL routing framework and requests/responses handler for PHP

254.6k4](/packages/elementaryframework-water-pipe)[jsor/hal-client

A lightweight client for consuming and manipulating Hypertext Application Language (HAL) resources.

2425.9k1](/packages/jsor-hal-client)

PHPackages © 2026

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