PackageTrack
Sign in Get early access

knplabs/knp-snappy

PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage.

v1.7.3 75M downloads/mo #578 most downloaded on Packagist KnpLabs/snappy

What this package is like to depend on

Last release 25 days ago

29 Jul 2026

Release timing varies

gaps range from 4 weeks to 1.7 years

Some releases are documented

notes for 21 of 37 stable releases

Nothing withdrawn

no release was ever pulled

14 years old

37 releases · first in 2012

5 releases in the last 12 months

see the full history below

Release timeline

36 releases · Nov 2012 to Jul 2026
2013 2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 37
  1. v1.7.3 29 Jul 2026
    Release notes

    What's Changed

    Full Changelog: v1.7.2...v1.7.3

    Open source →
  2. v1.7.2 15 May 2026
    Release notes

    Important

    This release fixes the security advisory GHSA-87qc-37cw-84h4

    What's Changed

    • fix: prevent deletion of files outside the temporary directory and improve test coverage by @clementvtrd in #549

    Full Changelog: v1.7.1...v1.7.2

    Open source →
    Release notes
    • Fix: prevent deletion of files outside the temporary directory and improve test coverage
    Open source →
  3. v1.7.1 15 May 2026
    Release notes

    Important

    This release fixes the security advisory GHSA-vpr4-p6fq-85jc

    Warning

    This fix prevents from passing argument directly via the binary string. See the related issue #550 for more informations.

    Full Changelog: v1.7.0...v1.7.1

    Open source →
    Release notes

    [!IMPORTANT] This version introduces a breaking change. The $binaryPath is checked with the is_executable PHP function. Thus, it is required to use an absolute or relative path without any argument (use the $options array or the setOption method instead). See the issue #550

    • Fix: ensure binary is executable in buildCommand
    Open source →
  4. v1.7.0 15 May 2026
    Release notes

    Important

    This release fixes the security advisory GHSA-c5fp-p67m-gq56

    What's Changed

    New Contributors

    Full Changelog: v1.6.0...v1.7.0

    Open source →
    Release notes
    • Fix: enhance Pdf constructor to allow specific schemes (see #544)
    • Chore: update PHPStan to v2 (see #541)
    • Doc: add warning based on wkhtmltopdf recommendations (see #528)
    Open source →
  5. v1.6.0 13 Feb 2026
    Release notes

    What's Changed

    Thanks to @Chris53897!

    Full Changelog: v1.5.1...v1.6.0

    Open source →
    Release notes
    • Feat: allow Symfony 8
    • Test: migrate to PHPUnit 9 (see #532)
    • CI: add tests for PHP 8.5
    • CI: upgrade GitHub Actions runner to Ubuntu 22.04
    Open source →
  6. v1.5.1 06 Jan 2025
    Release notes

    What's Changed

    Full Changelog: v1.5.0...v1.5.1

    Thanks @Chris53897!

    Open source →
    Release notes
    • Fix: PHP 8.4 deprecations
    Open source →
  7. v1.5.0 18 Dec 2023
    Release notes

    What's Changed

    Adds:

    • support for symfony/symfony 7.x

    Removes:

    • support for PHP 7.x
    • support for symfony/symfony version 3.x and 4.x
    • support for psr/log 1

    Full Changelog: v1.4.4...v1.5.0

    Thanks @endroid and @tacman!

    Open source →
    Release notes
    • Feat: support Symfony 7
    Open source →
  8. v1.4.4 13 Sep 2023
    Release notes

    What's Changed

    Full Changelog: v1.4.3...v1.4.4

    Open source →
    Release notes
    • Fix: allowed output file protocols on Windows
    Open source →
  9. v1.4.3 06 Sep 2023
    Release notes

    What's Changed

    New Contributors

    • @jeffersonsimaogoncalves made their first contribution in #476
    • @Chris53897 made their first contribution in #485

    Full Changelog: v1.4.2...v1.4.3

    Open source →
    Release notes
    • Fix: security advisory GHSA-92rv-4j2h-8mjj
    • CI: add tests for PHP 8.3, bump dev tests to Symfony 6.4
    Open source →
  10. v1.4.2 17 Mar 2023
    Release notes

    What's Changed

    New Contributors

    Full Changelog: v1.4.1...v1.4.2

    Open source →
    Release notes
    Open source →
  11. v1.4.1 07 Jan 2022
    Release notes
    • Fix: logger aware interface issue
    Open source →
  12. v1.4.0 08 Dec 2021
    Release notes
    • Feat: allow Symfony 6
    Open source →
  13. v1.3.1 22 Oct 2021
    Release notes
    • Fix: function signatures incompatibilities with previous version
    • Build: migrate to GitHub Actions
    Open source →
  14. v1.3.0 24 Sep 2021
    Release notes
    • Allow newer versions of the psr/log package
    • Add PHPStan level 8 CI check
    • Add CS fixer CI check
    • Add contributing guidelines and code of conduct
    Open source →
  15. v1.2.1 20 Jan 2020
    Release notes
    • Add resetOption method
    • Explicitly implement LoggerAwareInterface
    Open source →
  16. v1.2.0 02 Dec 2019
    Release notes
    • Symfony 5 compatibility for the Process component
    • Fix PDF options order
    • Add missing documentation for bypass-proxy-for option
    • Drop support for unmaintained Symfony versions (only supported versions)
    • Fix documentation for displaying PDF in the browser
    Open source →
  17. v1.1.0 14 Dec 2018
    Release notes
    • Add bypass-proxy-for option added in 0.12.3 (see #302)
    • Fix symfony/process 4.2 deprecation notice (see #331)
    • Drop suppor for unmaintained PHP versions (5.6 and 7.0, see #337
    • Drop support for unmaintained symfony/process versions (see #337)
    • Pass on error code in checkProcessStatus (see #328)

    Thanks to @joshpme, @drigani, @fbourigault, @NiR- and @leimd for their work.

    Open source →
  18. v1.0.4 22 Jan 2018
    Release notes
    • Support cache-dir for Image generation (see #297).

    Thank you @dimitrilahaye for their work.

    Open source →
  19. v1.0.3 03 Dec 2017
    Release notes
    • Add support to Symfony 4 (#290)
    • Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase (#287)

    Credits go to @michaelperrin and @carusogabriel.

    Open source →
  20. v1.0.2 04 Oct 2017
    Release notes

    A BC break was introduced in v1.0.0: using objects castable to string with a cyclic dependency to the generator as option value would break setOption() / setOptions() methods.

    • Use logger context rather than var_export to log option values (see #283)

    Credits go to: @barryvdh.

    Open source →
  21. v1.0.1 21 Sep 2017
    Release notes
    • Fix Call to a member function debug() on null logger (see #270)
    Open source →
  22. v0.5.0 16 Jun 2017

    Nothing published for this version

  23. 0.4.3 17 Nov 2015

    Nothing published for this version

  24. 0.4.2 16 Sep 2015

    Nothing published for this version

  25. 0.4.1 10 Aug 2015

    Nothing published for this version

  26. 0.3.4 no date

    Nothing published for this version

  27. 0.3.3 11 Mar 2015

    Nothing published for this version

  28. 0.3.2 18 Dec 2014

    Nothing published for this version

  29. 0.3.1 26 Nov 2014

    Nothing published for this version

  30. 0.3.0 24 Nov 2014

    Nothing published for this version

  31. 0.2.1 14 Oct 2014

    Nothing published for this version

  32. 0.2.0 20 Mar 2014

    Nothing published for this version

  33. 0.1.2 06 Sep 2013

    Nothing published for this version

  34. 0.1.1 10 Apr 2013

    Nothing published for this version

  35. 0.1.0 07 Nov 2012

    Nothing published for this version

  36. v1.0 20 Sep 2017

    Nothing published for this version

  37. 0.4 07 May 2015

    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