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

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

rebelcode/psr7
==============

PSR-7 message implementation that also provides common utility methods

v1.0(4y ago)01.1k↓100%1MITPHPPHP ^7.1 || ^8.0

Since Jun 17Pushed 4y ago2 watchersCompare

[ Source](https://github.com/RebelCode/psr7)[ Packagist](https://packagist.org/packages/rebelcode/psr7)[ RSS](/packages/rebelcode-psr7/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (9)Versions (2)Used By (1)

RebelCode - PSR7
================

[](#rebelcode---psr7)

[PSR-7](https://www.php-fig.org/psr/psr-7) message implementation that also provides common utility methods.

This package is an informal fork of [guzzlehttp/psr](https://github.com/guzzle/psr7) v1.8.2, with the following changes:

1. The root namespace is renamed to `RebelCode`
2. The target PHP version is lowered to 7.1

Some other package-level changes include tweaks to the Psalm config and using Docker for testing and building.

Purpose
=======

[](#purpose)

Due to a lack of dependency management in WordPress, plugins that use the same 3rd party libraries, but at different versions, will cause conflicts.

For instance, one plugin autoloads Guzzle v6.x and another attempts to autoload Guzzle v7.x. Only one of the two plugins will have its version autoloaded; the other will be using a version that it was not intended to use, and undefined class/method errors, type errors and invalid invocations will ensue.

As such, this package exists so that RebelCode's existing Guzzle dependents can replace Guzzle with an alternative implementation, all the while benefiting from the tried-and-tested code that Guzzle relies on. This is also the reason why the PHP version requirement was downgraded to 7.1 - this is the minimum requirement for RebelCode's plugins.

**Important**: This package is not intended for open use. Doing so would re-establish the original problem, which is that of different WordPress plugins using the same 3rd party dependencies. Yes, it sucks. What developers need is for WordPress to incorporate some form of [dependency management](https://core.trac.wordpress.org/ticket/22316) into Core.

Installation
============

[](#installation)

```
composer require rebelcode/psr7

```

Credits
=======

[](#credits)

Credits for this package go mostly to the Guzzle team ✌

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity56

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

Unknown

Total

1

Last Release

1786d ago

### Community

Maintainers

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

---

Top Contributors

[![mecha](https://avatars.githubusercontent.com/u/5425482?v=4)](https://github.com/mecha "mecha (9 commits)")

---

Tags

httpresponserequestpsr-7streamurlmessageuri

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

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

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

1.9k692.9M1.9k](/packages/psr-http-factory)[pdeans/http

PSR-7 cURL HTTP client with support for PSR-17 HTTP factories.

1466.2k3](/packages/pdeans-http)[workerman/psr7

PSR-7 message implementation that also provides common utility methods

1079.8k10](/packages/workerman-psr7)[chillerlan/php-httpinterface

A PSR-7/17/18 http message/client implementation

1417.1k5](/packages/chillerlan-php-httpinterface)[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)
