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

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

phputil/http
============

HTTP related classes

1.5(9y ago)21.0k↓50%1LGPL-3PHPPHP &gt;=5.2.0

Since Jan 7Pushed 8y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (7)Used By (1)

HTTP
====

[](#http)

This library provides:

- Common HTTP charsets.
- HTTP response headers, including common non-standard headers.
- HTTP status codes and status texts.
- Common MIME types.
- Common encoding/compression formats.

We recommend you using it with the [PSR-7](http://www.php-fig.org/psr/psr-7/).

This project uses [semantic versioning](http://semver.org/). See [our releases](https://github.com/thiagodp/http/releases).

Classes:

- [phputil\\Charset](https://github.com/thiagodp/http/blob/master/lib/Charset.php)
- [phputil\\Mime](https://github.com/thiagodp/http/blob/master/lib/Mime.php)
- [phputil\\Encoding](https://github.com/thiagodp/http/blob/master/lib/Encoding.php)
- [phputil\\HttpResponseHeader](https://github.com/thiagodp/http/blob/master/lib/HttpResponseHeader.php)
- [phputil\\HttpStatus](https://github.com/thiagodp/http/blob/master/lib/HttpStatus.php)
- [phputil\\HttpStatusText](https://github.com/thiagodp/http/blob/master/lib/HttpStatusText.php)

### Installation

[](#installation)

```
composer require phputil/http
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity62

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

Recently: every ~115 days

Total

6

Last Release

3323d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/154324d722a6ee9c252a0338329781084a97af2d0ea9faaf39176df5a689a2ec?d=identicon)[thiagodp](/maintainers/thiagodp)

---

Top Contributors

[![thiagodp](https://avatars.githubusercontent.com/u/2997844?v=4)](https://github.com/thiagodp "thiagodp (21 commits)")

---

Tags

charsetcompressionencondingheaderhttpmimephpphputilstatushttpresponsephpmimecharsetstatus

### Embed Badge

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

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

###  Alternatives

[zbateson/mb-wrapper

Wrapper for mbstring with fallback to iconv for encoding conversion and string manipulation

4948.6M5](/packages/zbateson-mb-wrapper)[ptlis/conneg

Tools for performing content negotiation.

364.9k1](/packages/ptlis-conneg)

PHPackages © 2026

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