PHPackages                             mpdf/psr-http-message-shim - 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. [PSR &amp; Standards](/categories/psr-standards)
4. /
5. mpdf/psr-http-message-shim

ActiveLibrary[PSR &amp; Standards](/categories/psr-standards)

mpdf/psr-http-message-shim
==========================

Shim to allow support of different psr/message versions.

v2.0.1(2y ago)4829.7M—3.6%[1 issues](https://github.com/mpdf/psr-http-message-shim/issues)8MITPHP

Since Sep 1Pushed 2y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (4)Used By (8)

psr-http-message-shim
=====================

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

Trait to allow support of different psr/http-message versions.

Based on the psr-log-aware-trait, developed by Matěj Humpál, K Widholm and Mark Dorison.

By including this shim, you can allow composer to resolve your Psr\\Http\\Message version for you.

Use
---

[](#use)

Require the shim.

```
    composer require mpdf/psr-http-message-shim

```

Modify any use of mpdf's Request.php, Response.php, Stream.php and Uri.php classes to instead use versions from the Mpdf\\HttpMessageShim namespace.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity59

Moderate usage in the ecosystem

Community17

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~16 days

Total

3

Last Release

959d ago

Major Versions

1.0.0 → 2.0.02023-09-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/9cc3aa40c77c31f002068ad6da34d2b3717655d19194987bf1bf54af0ba94fb1?d=identicon)[finwe](/maintainers/finwe)

---

Top Contributors

[![NigelCunningham](https://avatars.githubusercontent.com/u/107818?v=4)](https://github.com/NigelCunningham "NigelCunningham (2 commits)")[![finwe](https://avatars.githubusercontent.com/u/195675?v=4)](https://github.com/finwe "finwe (1 commits)")

### Embed Badge

![Health badge](/badges/mpdf-psr-http-message-shim/health.svg)

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

###  Alternatives

[dragon-code/contracts

A set of contracts for any project

108.8M37](/packages/dragon-code-contracts)[charlesportwoodii/yii2-psr7-bridge

A PSR7 Bridge for Yii2

11232.1k1](/packages/charlesportwoodii-yii2-psr7-bridge)

PHPackages © 2026

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