https://github.com/mpdf/psr-http-message-shim
https://github.com/mpdf/psr-http-message-shim
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/mpdf/psr-http-message-shim
- Owner: mpdf
- Created: 2023-07-18T06:11:59.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-10-02T14:34:37.000Z (over 2 years ago)
- Last Synced: 2025-06-10T18:23:15.548Z (about 1 year ago)
- Language: PHP
- Size: 8.79 KB
- Stars: 37
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
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.