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)4935.5M↓21.7%1[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 2d 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

40

—

FairBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity60

Solid adoption and visibility

Community19

Small or concentrated contributor base

Maturity46

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

1005d ago

Major Versions

1.0.0 → 2.0.02023-09-01

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/195675?v=4)[Matěj Humpál](/maintainers/finwe)[@finwe](https://github.com/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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[symfony/symfony

The Symfony PHP framework

31.4k87.2M2.2k](/packages/symfony-symfony)[guzzlehttp/psr7

PSR-7 message implementation that also provides common utility methods

8.0k1.1B4.0k](/packages/guzzlehttp-psr7)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[moonshine/moonshine

Laravel administration panel

1.3k253.1k81](/packages/moonshine-moonshine)

PHPackages © 2026

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