PHPackages                             fig/http-message-util - 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. fig/http-message-util

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

fig/http-message-util
=====================

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

1.1.5(5y ago)39489.0M—5.5%18[2 issues](https://github.com/php-fig/http-message-util/issues)[1 PRs](https://github.com/php-fig/http-message-util/pulls)20MITPHPPHP ^5.3 || ^7.0 || ^8.0

Since Aug 5Pushed 3y ago16 watchersCompare

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

READMEChangelog (7)DependenciesVersions (8)Used By (20)

PSR Http Message Util
=====================

[](#psr-http-message-util)

This repository holds utility classes and constants to facilitate common operations of [PSR-7](https://www.php-fig.org/psr/psr-7/); the primary purpose is to provide constants for referring to request methods, response status codes and messages, and potentially common headers.

Implementation of PSR-7 interfaces is **not** within the scope of this package.

Installation
------------

[](#installation)

Install by adding the package as a [Composer](https://getcomposer.org)requirement:

```
$ composer require fig/http-message-util
```

###  Health Score

55

—

FairBetter than 98% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity71

Solid adoption and visibility

Community44

Growing community involvement

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 60.5% 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 ~262 days

Recently: every ~347 days

Total

7

Last Release

2001d ago

PHP version history (2 changes)1.0.0PHP ^5.3 || ^7.0

1.1.5PHP ^5.3 || ^7.0 || ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/25943?v=4)[Matthew Weier O'Phinney](/maintainers/weierophinney)[@weierophinney](https://github.com/weierophinney)

![](https://www.gravatar.com/avatar/b93dc5a9591fbfe3ead8b344eeddb3a8b10191e3696afcc93bed806629c2d724?d=identicon)[fig](/maintainers/fig)

---

Top Contributors

[![weierophinney](https://avatars.githubusercontent.com/u/25943?v=4)](https://github.com/weierophinney "weierophinney (23 commits)")[![Jean85](https://avatars.githubusercontent.com/u/6729988?v=4)](https://github.com/Jean85 "Jean85 (5 commits)")[![J0WI](https://avatars.githubusercontent.com/u/5710638?v=4)](https://github.com/J0WI "J0WI (2 commits)")[![nyamsprod](https://avatars.githubusercontent.com/u/51073?v=4)](https://github.com/nyamsprod "nyamsprod (2 commits)")[![Lcfvs](https://avatars.githubusercontent.com/u/2665124?v=4)](https://github.com/Lcfvs "Lcfvs (2 commits)")[![RinkAttendant6](https://avatars.githubusercontent.com/u/351158?v=4)](https://github.com/RinkAttendant6 "RinkAttendant6 (1 commits)")[![sharifzadesina](https://avatars.githubusercontent.com/u/205923701?v=4)](https://github.com/sharifzadesina "sharifzadesina (1 commits)")[![sudo-barun](https://avatars.githubusercontent.com/u/5305731?v=4)](https://github.com/sudo-barun "sudo-barun (1 commits)")[![m-ober](https://avatars.githubusercontent.com/u/11992838?v=4)](https://github.com/m-ober "m-ober (1 commits)")

---

Tags

httpresponserequestpsrpsr-7http-message

### Embed Badge

![Health badge](/badges/fig-http-message-util/health.svg)

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

###  Alternatives

[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

177101.3M921](/packages/psr-http-server-handler)[art4/requests-psr18-adapter

Use WordPress/Requests as a PSR-18 HTTP client

153.3k](/packages/art4-requests-psr18-adapter)

PHPackages © 2026

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