PHPackages                             brnc/http-message-subset - 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. brnc/http-message-subset

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

brnc/http-message-subset
========================

Interfaces for subsets of PSR-7

v0.0.4(7y ago)023MITPHPPHP ^5.5 || ^7.0

Since Nov 24Pushed 5y agoCompare

[ Source](https://github.com/ebln/http-message-subset)[ Packagist](https://packagist.org/packages/brnc/http-message-subset)[ RSS](/packages/brnc-http-message-subset/feed)WikiDiscussions master Synced yesterday

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

DEPRECATED
==========

[](#deprecated)

This package `brnc/http-message-subset` is deprecated as  is now fully\* PSR-7 compliant. They weren't very useful, either. PSR-7 isn't implementing these interfaces, so that PSR-7-compliant objects could not fulfil the interfaces despite implementing all the methods.

\* `http-message-subset` being an adapter to Symfony1 classes cannot fulfil PSR-7's immutability requirement

Granular Interfaces as Subsets of PSR-7
=======================================

[](#granular-interfaces-as-subsets-of--psr-7)

For cases when PSR-7 is too much. And only a limited subset of the implemented methods is needed, possible or desired.

As a beginning only header related methods of the message are covered.

Definition in terms of [RFC-7230](https://tools.ietf.org/html/rfc7230#section-3)
--------------------------------------------------------------------------------

[](#definition-in-terms-of-rfc-7230)

RFC-7230 as well as [RFC-2616](https://tools.ietf.org/html/rfc2616#section-4.1) defines the HTTP message as:

```
HTTP-message   = start-line
                 *( header-field CRLF )
                 CRLF
                 [ message-body ]

```

while the start-lines are defined as:

```
start-line     = request-line / status-line
request-line   = method SP request-target SP HTTP-version CRLF
status-line    = HTTP-version SP status-code SP reason-phrase CRLF

```

This packages now is referring to

- `header-field`·s as **Headers**
- Aggregation of `start-line` and `header-field` as **Head**
- `header-field`·s and the `HTTP-version` as **CommonHead**
- The `message-body` will be the **Body**
- everything together the **Message**

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity47

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

Every ~0 days

Total

2

Last Release

2726d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8059635?v=4)[brnc](/maintainers/brnc)[@brnc](https://github.com/brnc)

---

Top Contributors

[![ebln](https://avatars.githubusercontent.com/u/34722048?v=4)](https://github.com/ebln "ebln (16 commits)")

---

Tags

archiveddeprecatedno-maintenance-intendedhttppsr-7http-messagemessage

### Embed Badge

![Health badge](/badges/brnc-http-message-subset/health.svg)

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

###  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)[symfony/psr-http-message-bridge

PSR HTTP message bridge

1.3k296.6M807](/packages/symfony-psr-http-message-bridge)[php-http/message

HTTP Message related tools

1.3k263.9M678](/packages/php-http-message)[fig/http-message-util

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

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

PHPackages © 2026

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