PackageTrack
Sign in Get early access

pontedilana/php-weasyprint

PHP library allowing PDF generation from an url or a html page. Wrapper for Kozea/WeasyPrint.

2.7.0 1.3M downloads/mo #3843 most downloaded on Packagist pontedilana/php-weasyprint

What this package is like to depend on

Last release 2 months ago

03 Jun 2026

Release timing varies

gaps range from 8 days to 12 months

Some releases are documented

notes for 10 of 23 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

23 releases · first in 2021

7 releases in the last 12 months

see the full history below

Release timeline

23 releases · Jul 2021 to Jun 2026
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 23
  1. 2.7.0 03 Jun 2026
    Release notes

    Added

    • Support WeasyPrint 69.0 new --output-intent option
    Open source →
  2. 2.6.0 25 May 2026
    Release notes

    Security

    • Fix potential SSRF and local file disclosure: option URLs are fetched server-side only when their scheme is allowed (http, https by default, configurable via the new $allowedSchemes constructor argument)
    • Fix potential arbitrary file deletion at shutdown: removeTemporaryFiles() now only deletes files located inside the temporary folder
    • Fix PHAR deserialization via the output filename (CVE-2023-28115 case-insensitive bypass): the output path is now validated against a scheme allow-list instead of a case-sensitive phar:// check
    Open source →
  3. 2.5.1 25 May 2026
    Release notes

    Security

    • Fix potential shell-command injection through the WeasyPrint binary path: buildCommand() now verifies the binary is executable on the unescaped path and shell-escapes it before use
    • Update symfony/process minimal version to mitigate CVE-2026-24739
    Open source →
  4. 2.5.0 03 Apr 2026
    Release notes

    Added

    • Support WeasyPrint options (--info, --quiet, --verbose, --debug, --version, --no-http-redirects, --fail-on-http-errors)
    Open source →
  5. 2.4.0 20 Jan 2026
    Release notes

    Added

    • Support WeasyPrint 68.0 new --attachment-relationship and --xmp-metadata options
    Open source →
  6. 2.3.0 02 Dec 2025
    Release notes

    Added

    • Support WeasyPrint 67.0 new --allowed-protocols option
    • Support Symfony 8.0
    • More tests
    Open source →
  7. 2.2.0 19 Nov 2025
    Release notes

    Added

    • Support PHP 8.5
    • More tests
    Open source →
  8. 2.1.0 24 Jul 2025
    Release notes

    Added

    • Support WeasyPrint 66.0 new --pdf-tags option
    Open source →
  9. 2.0.0 10 Apr 2025
    Release notes

    Added

    • Add --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)
    • Add disableTimeout() method to easily disable the new CLI timeout behavior

    Security

    Open source →
  10. 1.5.0 04 Nov 2024
    Release notes

    Added

    • Support WeasyPrint 63.0 new srgb option
    • Added support for PHP 8.4
    Open source →
  11. 1.4.0 20 Nov 2023

    Nothing published for this version

  12. 1.3.0 07 Oct 2023

    Nothing published for this version

  13. 1.2.0 11 May 2023

    Nothing published for this version

  14. 1.1.1 26 Apr 2023

    Nothing published for this version

  15. 1.1.0 03 Apr 2023

    Nothing published for this version

  16. 1.0.1 17 Jan 2023

    Nothing published for this version

  17. 1.0.0 16 Jan 2023

    Nothing published for this version

  18. 0.13.0 16 Jan 2023

    Nothing published for this version

  19. 0.12.0 09 Dec 2022

    Nothing published for this version

  20. 0.11.0 28 Feb 2022

    Nothing published for this version

  21. 0.10.1 29 Dec 2021

    Nothing published for this version

  22. 0.10.0 29 Dec 2021

    Nothing published for this version

  23. 0.9.0 16 Jul 2021

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive