NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #1905 most downloaded on Packagist
Html2Pdf is a HTML to PDF converter written in PHP - It uses TCPDF - OFFICIAL PACKAGE
Last release 1 years ago
08 Jun 2025
Release timing varies
gaps range from 6 weeks to 1.6 years
Nearly every release is documented
notes for 21 of 21 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
21 releases · first in 2015
What's changed improve the security service Full Changelog : v5.3.2...v5.3.3
add readonly attribute support for input and textarea - thanks to @kkevinchoo
html2pdf-same-page on div container - thanks to @macr1408Full Changelog: v5.3.1...v5.3.2
One column per quarter.
add new Security service, that can be overridden
Full Changelog: v5.3.0...v5.3.1
Fix PHP 8.4 deprecation warnings by @W0rma in #815
Full Changelog: v5.2.8...v5.3.0
Full Changelog : v5.2.7...v5.2.8
Full Changelog: v5.2.7...v5.2.8
example9.php and forms.php - thanks to Michał Majchrowicz, Livio Victoriano and Zbigniew Piotrak from AFINE TeamFull Changelog : v5.2.6...v5.2.7
Full Changelog: v5.2.6...v5.2.7
Added compatibility with PHPUnit 9 by @jausions in #733
Full Changelog: v5.2.5...v5.2.6
fix security on scheme of css and image paths for windows paths
revert fix multibyte aware substr when setting newline position - it causes pbs on some specific cases
add support for BASE64 encoded images also for backimg tag in page - thanks to @berengan
allow usage of [[page_cu]] in css class names - thanks to @marbetschar - see example 15
add cert tag - thanks to @LittleBigFox
cert tag - thanks to @LittleBigFox
balloon example - issue #385exemple to examplechange the name of CoreExtension to Core\HtmlExtension
CoreExtension to Core\HtmlExtension
Tag\ to Tag\HtmlCore\SvgExtension$marginTop parameter on the createIndex method - issue #333xx-large to xx-small font-size management - issue #320colgoup html tag - issue #306add support of css page-break-before:always and page-break-after:always on DIV tag, based on PR #190 and PR #204
page-break-before:always and page-break-after:always on DIV tag, based on PR #190 and PR #204
page tag - issue #260fix issue #200 pb with absolute path when saving the pdf file on server
This new version is not compatible with the 4.x.x version.
BREAK COMPATIBILITY
This new version is not compatible with the 4.x.x version.
Lots of classes / methods have been renamed, moved, deleted, exploded.
$dest parameter anymoreOutput to outputattribute of the page tagpdfa parameter on Html2Pdf constructor https://github.com/spipu/html2pdf/pull/122./doc/hidefooter which accepts a list of pages that gonna skip footer https://github.com/spipu/html2pdf/issues/162fix css font-family lowercase check on inherit value
add Support 'start' attribute for ordered list
Support the "inherit" value for font-family
add tag 'end_last_page' with property 'end_height'. Update example 5 to use it
includes a new attribute to page tag 'hideheader' which accepts a list of pages that gonna skip header.
some doc fixes, rephrasing and removing french words
add composer management
Update autoload type
README more readable
add automatic generation of pdf test files
fix: Set default font from PDF_FONT_NAME_MAIN constant from TCPDF, if available
fix: Make space-collapsing regexp Unicode-aware
fix: some pbs on examples to generate them automatically
Your coding agent can read these notes before it upgrades. Set up the MCP server →