Registry / utility / mpdf-mpdf

mpdf-mpdf

JSON →
library8.3.1phppackagistunverified

Generates PDF files from UTF-8 encoded HTML content.

composer require mpdf/mpdf
INSTALL
IMPORT
SIG · MPDF-MPDF
M
mpdf-mpdf
utilityphpv8.3.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Mpdf
use Mpdf\Mpdf;

Create a PDF from HTML and output it directly.

use Mpdf\Mpdf; $mpdf = new Mpdf(); $mpdf->WriteHTML('<h1>Hello World</h1>'); $mpdf->Output();
Debug
Known issues
breakingRequires the mbstring extension; without it, PDF generation may fail silently.
fix
Install the PHP mbstring extension or use symfony/polyfill-mbstring.
affects: >=8.0.0
Upgrade
Version history
8.3.1latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
mpdf-mpdf — pip install mpdf-mpdf · libregistry