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

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

mattyg/http
===========

A pair of generic classes related to working with data over the HTTP protocol.

2.1.0(12y ago)019UnlicensePHPPHP &gt;=5.4.0

Since Mar 16Pushed 12y ago1 watchersCompare

[ Source](https://github.com/djmattyg007/MattyG.Http)[ Packagist](https://packagist.org/packages/mattyg/http)[ Docs](https://github.com/djmattyg007/MattyG.Http)[ RSS](/packages/mattyg-http/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

```
The MattyG PHP HTTP Library

This module is a pair of classes designed for use with PHP web projects and
APIs that operate over the HTTP protocol. It contains two classes, Request
and Response.

Request is initialised by passing a copy of the $_SERVER, $_GET and $_POST
superglobals. It does not have a very expansive interface at present, but
does provide a common interface for accessing GET and POST values.

Response is used for preparing and sending your entire response to the client.
It provides an interface to prepare HTTP headers, the content you wish to
send, and finally to actually send the whole response.

This module is still a work in progress.

Contributions

All contributions are welcome. By submitting a contribution, you must
acknowledge and accept that your work will be released into the public domain
like the rest of the work is.

License

This module is released into the public domain. Full details can be found in
LICENSE.txt.

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

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

Total

4

Last Release

4439d ago

Major Versions

1.0.0 → 2.0.02014-03-16

### Community

Maintainers

![](https://www.gravatar.com/avatar/29e8622a72b856256e1b0f9e5ba9480444c6391e6e80a48eeb52fc4118eacf06?d=identicon)[djmattyg007](/maintainers/djmattyg007)

---

Top Contributors

[![mwgamble](https://avatars.githubusercontent.com/u/4494785?v=4)](https://github.com/mwgamble "mwgamble (5 commits)")

---

Tags

httpresponserequestservergetpost

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/mattyg-http/health.svg)](https://phpackages.com/packages/mattyg-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)[psr/http-server-handler

Common interface for HTTP server-side request handler

175101.3M919](/packages/psr-http-server-handler)[fig/http-message-util

Utility classes and constants for use with PSR-7 (psr/http-message)

39489.0M274](/packages/fig-http-message-util)[nette/http

🌐 Nette Http: abstraction for HTTP request, response and session. Provides careful data sanitization and utility for URL and cookies manipulation.

48619.2M541](/packages/nette-http)

PHPackages © 2026

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