Registry / serialization / dompdf-dompdf

dompdf-dompdf

JSON →
library3.1.4phppackagistunverified

DOMPDF is a CSS 2.1 compliant HTML to PDF converter

composer require dompdf/dompdf
INSTALL
IMPORT
SIG · DOMPDF-DOMPDF
D
dompdf-dompdf
serializationphpv3.1.4
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.

Dompdf
✓ use Dompdf\Dompdf;

Convert HTML to PDF and output

use Dompdf\Dompdf; $dompdf = new Dompdf(); $dompdf->loadHtml('<h1>Hello</h1>'); $dompdf->render(); $dompdf->stream();
Debug
Known issues
breakingPHP 8.1+ required for version 3.x
fix
Use version 2.x if on PHP 7.x or 8.0
affects: >=3.0.0
Upgrade
Version history
3.1.4latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
17 hits · last 30 days
node
16
Resources
dompdf-dompdf — pip install dompdf-dompdf · libregistry