PHP Package: spipu/html2pdf

A PHP library for generating PDF documents from HTML content with SEO optimization and customization features.

Current Version: 5.3.3
Last Updated: 2025-06-08
PHP Requirement: ^7.2 || ^8.0
Dependencies: None

Package Description

HTML2PDF is a powerful PHP library that converts HTML content to PDF format efficiently. It provides comprehensive customization options, SEO optimization, and support for complex document structures. With HTML2PDF, users can easily generate professional-looking PDF documents from HTML templates.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 5.3.3

Download Download v5.3.3

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com

require_once 'libs/spipu/html2pdf/5.3.3/loader.php';
use Spipu\Html2Pdf\Html2Pdf;

$obj = new Html2Pdf();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.