Registry / utility / spipu-html2pdf

spipu-html2pdf

JSON →
library5.3.3phppackagistunverified

Converts HTML to PDF using TCPDF.

composer require spipu/html2pdf
INSTALL
IMPORT
SIG · SPIPU-HTML2PDF
S
spipu-html2pdf
utilityphpv5.3.3
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.

Html2Pdf
use Spipu\Html2Pdf\Html2Pdf;

Generate a PDF from HTML content

use Spipu\Html2Pdf\Html2Pdf; $html2pdf = new Html2Pdf('P', 'A4', 'en'); $html2pdf->writeHTML('<h1>Hello World</h1>'); $html2pdf->output('example.pdf');
Debug
Known issues
breakingRequires PHP 7.4+ and the mbstring extension
fix
Ensure your PHP version is 7.4 or higher and mbstring is installed
affects: >=5.0.0
Upgrade
Version history
5.3.3latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
spipu-html2pdf — pip install spipu-html2pdf · libregistry