mpdf / psr-http-message-shim
Shim to allow support of different psr/message versions.
Installs: 10 501 467
Dependents: 6
Suggesters: 0
Security: 0
Stars: 28
Watchers: 2
Forks: 0
Open Issues: 1
Requires
- psr/http-message: ^2.0
This package is auto-updated.
Last update: 2024-10-31 00:38:20 UTC
README
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
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.