Comments (5)
(this should read "not compatible with psr/http-message ^2.0" and be reported in mpdf repository directly)
from laravel-mpdf.
@saraswat19 your installed mPDF version is <7.0, probably 6.1.3 which is far from compatible with PHP 8. Make sure your dependencies allow the latest mPDF 8.x version.
from laravel-mpdf.
Now, I have just installed this package alongside Laravel 10.2 on PHP 8.2.
Maybe try it first and then share exact problems you are having.
from laravel-mpdf.
I am getting this error on laravel 10
![Screenshot 2023-05-25 at 01 14 31](https://private-user-images.githubusercontent.com/6272778/240725286-d17b41be-d06b-48d5-8bc1-a0e5d58b52fb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTQ2ODQzNjIsIm5iZiI6MTcxNDY4NDA2MiwicGF0aCI6Ii82MjcyNzc4LzI0MDcyNTI4Ni1kMTdiNDFiZS1kMDZiLTQ4ZDUtOGJjMS1hMGU1ZDU4YjUyZmIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDUwMiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA1MDJUMjEwNzQyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YjNkOWZmNzIyOTVhMGEzY2ExMzliNmVlMWE1ODRmZTg1NTk4ODU3NWY5MWJjZDhjNzI2ZjcxNjE5N2M0MWFhMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.26kryBqTu2mRrFG7pgdGk4O_bMOHoE6vKAqDA5UMNd4)
from laravel-mpdf.
@saraswat19 your installed mPDF version is <7.0, probably 6.1.3 which is far from compatible with PHP 8. Make sure your dependencies allow the latest mPDF 8.x version.
Thank you. That fixed it.
from laravel-mpdf.
Related Issues (20)
- Styling The Generated PDF HOT 5
- get download url HOT 1
- how to change watermark color? HOT 2
- transform: rotate(90deg) not working in css style
- Watermark on only last page
- PHPStan problem in LaravelMpdf.php
- Spot Color HOT 2
- How to multiple language - multilingual HOT 1
- mPDF requirement needs to be updated to 8.1.6 HOT 1
- Undefined array key "s"
- Qr code xmL problem HOT 1
- how to style with tailwind? HOT 1
- Use template on first page
- Laravel-MPDF Doesn't show italic farsi/arabic text HOT 1
- Package not working with livewire.
- Password and permission
- Sinhala/unicode font renderring issue
- Undefined array key "s" error
- Error with laravel-mpdf HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-mpdf.