NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #3331 most downloaded on Packagist
PHP library allowing PDF generation from an url or a html page. Wrapper for Kozea/WeasyPrint.
Last release 4 months ago
03 Jun 2026
Release timing varies
gaps range from 8 days to 12 months
Nearly every release is documented
notes for 23 of 23 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
23 releases · first in 2021
Support WeasyPrint 69.0 new --output-intent option
--output-intent optionFix PHAR deserialization via the output filename ( CVE-2023-28115 case-insensitive bypass): the output path is now validated against a scheme allow-li…
http, https by default, configurable via the new $allowedSchemes constructor argument)removeTemporaryFiles() now only deletes files located inside the temporary folderphar:// checkOne column per quarter.
Update symfony/process minimal version to mitigate CVE-2026-24739
buildCommand() now verifies the binary is executable on the unescaped path and shell-escapes it before usesymfony/process minimal version to mitigate CVE-2026-24739Support WeasyPrint options ( --info , --quiet , --verbose , --debug , --version , --no-http-redirects , --fail-on-http-errors )
--info, --quiet, --verbose, --debug, --version, --no-http-redirects, --fail-on-http-errors)Support WeasyPrint 68.0 new --attachment-relationship and --xmp-metadata options
--attachment-relationship and --xmp-metadata optionsSupport WeasyPrint 67.0 new --allowed-protocols option
--allowed-protocols optionAdded Support PHP 8.5 More tests
Support WeasyPrint 66.0 new --pdf-tags option
--pdf-tags optionUpdate symfony/process minimal version to mitigate CVE-2024-51736
--timeout option to the WeasyPrint command-line call by default. This improves consistency with the internal process timeout already applied by Symfony Process. If you're running WeasyPrint inside a worker, queue, or other timeout-managed environment, you can disable it using $pdf->disableTimeout() or $pdf->setTimeout(null). (#15)disableTimeout() method to easily disable the new CLI timeout behaviorsymfony/process minimal version to mitigate CVE-2024-51736Support WeasyPrint 63.0 new srgb option
srgb option--srgb optionAdd support for Symfony 7.0 and PHP 8.3
Support WeasyPrint 60.0 new --timeout option
--timeout optionSupport WeasyPrint 59.0b1 new options
Implement countermeasures for CVE-2023-28115
Support WeasyPrint 58 new option (--pdf-forms)
--pdf-forms)### Fixed - Fix logging of errors
Fix handling of repeatable options (attachment and stylesheet)
Support WeasyPrint 56 new options
### Changed - Add support for PHP 8.2
Bump symfony/process up to ^6.0 and psr/log up to ^3.0
Refactor tests to use onlyMethods()
onlyMethods()Unset --format option in Pdf class which is deprecated in WeasyPrint 53 and removed in WeasyPrint 54
--format option in Pdf class which is deprecated in WeasyPrint 53 and removed in WeasyPrint 54### Added - First public release
Your coding agent can read these notes before it upgrades. Set up the MCP server →