PHPackages                             painless-php/http-message - 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. painless-php/http-message

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

painless-php/http-message
=========================

PSR-7 Compliant HTTP classes.

05PHP

Since Jul 10Pushed 10mo agoCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

http-message
============

[](#http-message)

Http messaging related functionality, implementing psr-7.

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

[](#installation)

`composer require painless-php/http-message`

Public API
----------

[](#public-api)

#### Psr-7 compatbile classes

[](#psr-7-compatbile-classes)

- **Message** - implements MessageInterface
- **Request** - implements RequestInterface
- **Response** - implements ResponseInterface
- **Body** - implements StreamInterface
- **Uri** - implements UriInterface

#### Related http messaging classes

[](#related-http-messaging-classes)

- BasicAuthorizationHeader
- Header
- HeaderCollection
- Query
- Status
- Method

#### Exceptions

[](#exceptions)

- StringParsingException - thrown when parsing of http related content fails

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance41

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity13

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/3839f3fb0c50b415aacf70b6cd2f41ff254d93af78dfd58e4e41e57aa5a676cb?d=identicon)[PainlessPHP](/maintainers/PainlessPHP)

---

Top Contributors

[![nonetallt](https://avatars.githubusercontent.com/u/22174322?v=4)](https://github.com/nonetallt "nonetallt (22 commits)")

### Embed Badge

![Health badge](/badges/painless-php-http-message/health.svg)

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

###  Alternatives

[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M317](/packages/friendsofsymfony-rest-bundle)[php-http/discovery

Finds and installs PSR-7, PSR-17, PSR-18 and HTTPlug implementations

1.3k309.5M1.2k](/packages/php-http-discovery)[nyholm/psr7

A fast PHP7 implementation of PSR-7

1.3k235.4M2.4k](/packages/nyholm-psr7)[pusher/pusher-php-server

Library for interacting with the Pusher REST API

1.5k94.8M292](/packages/pusher-pusher-php-server)[spatie/crawler

Crawl all internal links found on a website

2.8k16.3M52](/packages/spatie-crawler)[react/http

Event-driven, streaming HTTP client and server implementation for ReactPHP

78126.4M414](/packages/react-http)

PHPackages © 2026

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