PHPackages                             kuyoto/psr7 - 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. kuyoto/psr7

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

kuyoto/psr7
===========

Provides a PSR-7 compliant http message implementation.

v1.1.0(6y ago)22MITPHPPHP ^7.2CI failing

Since Jun 24Pushed 6y ago1 watchersCompare

[ Source](https://github.com/kuyoto/psr7)[ Packagist](https://packagist.org/packages/kuyoto/psr7)[ RSS](/packages/kuyoto-psr7/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (6)Versions (3)Used By (0)

PSR-7
=====

[](#psr-7)

[![Build Status](https://camo.githubusercontent.com/b352753bd03f8dade118710c79b84253c92cd6e82f8d82daac092eeb2de65f65/68747470733a2f2f7472617669732d63692e636f6d2f6b75796f746f2f707372372e7376673f623d6d6173746572)](https://travis-ci.com/kuyoto/psr7)[![Total Downloads](https://camo.githubusercontent.com/785edd7932ad8817fddb9b623c854bd1fdc3f0c8c28354b2228e6020ac222bad/68747470733a2f2f706f7365722e707567782e6f72672f6b75796f746f2f707372372f646f776e6c6f6164733f666f726d61743d666c6174)](https://packagist.org/packages/kuyoto/psr7)[![Latest Stable Version](https://camo.githubusercontent.com/368712ec1960fe42aadf060debfcaf9dad2a5c3c758d23b83d438060324b7326/68747470733a2f2f706f7365722e707567782e6f72672f6b75796f746f2f707372372f762f737461626c653f666f726d61743d666c6174)](https://packagist.org/packages/kuyoto/psr7)[![License](https://camo.githubusercontent.com/4be1444e828bc38c654680a7a16941472808914ceb67f4744581f99509e95d73/68747470733a2f2f706f7365722e707567782e6f72672f6b75796f746f2f707372372f6c6963656e73653f666f726d61743d666c6174)](https://packagist.org/packages/kuyoto/psr7)

This package provides a [PSR-7](http://www.php-fig.org/psr/psr-7/) complaint http message implementation.

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

[](#installation)

The recommnended way to install this library is through [composer](https://getcomposer.org):

```
composer require kuyoto/psr7
```

Usage
-----

[](#usage)

The HTTP message objects do not contain any other public methods than those defined in [PSR-7](https://www.php-fig.org/psr/psr-7/) specification.

Testing
-------

[](#testing)

```
composer test
```

It is also possible to exclude tests that require a live internet connection:

```
composer test -- --exclude-group internet
```

License
-------

[](#license)

The package is an open-sourced software licensed under the [MIT License](LICENSE.md).

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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

Total

2

Last Release

2198d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/41d7599877e958842cf173cf1265fabd845006ccd14becaacd12b63c5a28ccd1?d=identicon)[nikuyo](/maintainers/nikuyo)

---

Top Contributors

[![kuyoto](https://avatars.githubusercontent.com/u/55682776?v=4)](https://github.com/kuyoto "kuyoto (11 commits)")

---

Tags

httppsrpsr-7messagefactorypsr-17

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/kuyoto-psr7/health.svg)

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

###  Alternatives

[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

8.0k1.1B4.0k](/packages/guzzlehttp-psr7)[psr/http-factory

PSR-17: Common interfaces for PSR-7 HTTP message factories

1.9k747.1M2.6k](/packages/psr-http-factory)[laminas/laminas-diactoros

PSR HTTP Message implementations

548115.3M1.2k](/packages/laminas-laminas-diactoros)[mezzio/mezzio

PSR-15 Middleware Microframework

3923.8M125](/packages/mezzio-mezzio)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[phpro/http-tools

HTTP tools for developing more consistent HTTP implementations.

28150.5k](/packages/phpro-http-tools)

PHPackages © 2026

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