Installieren Sie MPDF Laravel

composer require mpdf/mpdf --ignore-platform-reqs

If u want gives a specific version :

composer require mpdf/mpdf=^8.0.10 --ignore-platform-reqs
Wide-eyed Wolf