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 2026Releases
latest 37-
v1.7.329 Jul 2026Release notes
Open source →What's Changed
- doc: update CHANGELOG with all missing release by @clementvtrd in #552
- track temp file even if content is null by @trsteel88 in #553
Full Changelog: v1.7.2...v1.7.3
-
v1.7.215 May 2026Release notes
Open source →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
Release notes
Open source →- Fix: prevent deletion of files outside the temporary directory and improve test coverage
-
v1.7.115 May 2026Release notes
Open source →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
Release notes
Open source →[!IMPORTANT] This version introduces a breaking change. The
$binaryPathis checked with theis_executablePHP function. Thus, it is required to use an absolute or relative path without any argument (use the$optionsarray or thesetOptionmethod instead). See the issue #550- Fix: ensure binary is executable in
buildCommand
- Fix: ensure binary is executable in
-
v1.7.015 May 2026Release notes
Open source →Important
This release fixes the security advisory GHSA-c5fp-p67m-gq56
What's Changed
- Add warning based on wkhtmltopdf recommendations by @Arthurlbc in #528
- chore: update phpstan to v2 by @qroques in #541
- fix: exclude .github from .gitattributes by @qroques in #544
- Fix: security advisory GHSA-c5fp-p67m-gq56 by @clementvtrd in #548
New Contributors
- @Arthurlbc made their first contribution in #528
- @clementvtrd made their first contribution in #548
Full Changelog: v1.6.0...v1.7.0
-
v1.6.013 Feb 2026Release notes
Open source →What's Changed
- ci: add tests for PHP 8.5 by @Chris53897 in #530
- test: migrate to PHPUnit 9 by @Chris53897 in #532
- feat: allow symfony 8 by @Chris53897 in #536
Thanks to @Chris53897!
Full Changelog: v1.5.1...v1.6.0
Release notes
Open source →- 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
-
v1.5.106 Jan 2025Release notes
Open source →What's Changed
- chore: fix ci deprecations, by @Chris53897 in #498
- feat: fix PHP 8.4 deprecations by @Chris53897 in #515
- ci: add tests for PHP 8.4 by @Chris53897 in #516
Full Changelog: v1.5.0...v1.5.1
Thanks @Chris53897!
-
v1.5.018 Dec 2023Release notes
Open source →What's Changed
- Add support symfony 7 by @alexpozzi in #496
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
-
v1.4.413 Sep 2023Release notes
Open source →What's Changed
- fix: allowed output file protocols on Windows by @alexpozzi in #490
Full Changelog: v1.4.3...v1.4.4
-
v1.4.306 Sep 2023Release notes
Open source →What's Changed
- chore: add ci tests for php 8.2, bump github actions versions (with phpstan fixed) by @alexpozzi in #475
- Update README.md by @jeffersonsimaogoncalves in #476
- chore: add tests for php 8.3, bump dev tests to symfony 6.4 by @Chris53897 in #485
- fix: security advisory GHSA-92rv-4j2h-8mjj by @alexpozzi in #488
New Contributors
- @jeffersonsimaogoncalves made their first contribution in #476
- @Chris53897 made their first contribution in #485
Full Changelog: v1.4.2...v1.4.3
Release notes
Open source →- Fix: security advisory GHSA-92rv-4j2h-8mjj
- CI: add tests for PHP 8.3, bump dev tests to Symfony 6.4
-
v1.4.217 Mar 2023Release notes
Open source →What's Changed
- fix: security issue GHSA-gq6w-q6wh-jggc by @AntoineLelaisant in #469
New Contributors
- @AntoineLelaisant made their first contribution in #469
Full Changelog: v1.4.1...v1.4.2
-
v1.4.107 Jan 2022 -
v1.4.008 Dec 2021 -
v1.3.122 Oct 2021Release notes
Open source →- Fix: function signatures incompatibilities with previous version
- Build: migrate to GitHub Actions
-
v1.3.024 Sep 2021Release notes
Open source →- Allow newer versions of the
psr/logpackage - Add PHPStan level 8 CI check
- Add CS fixer CI check
- Add contributing guidelines and code of conduct
- Allow newer versions of the
-
v1.2.120 Jan 2020 -
v1.2.002 Dec 2019Release notes
Open source →- Symfony 5 compatibility for the Process component
- Fix PDF options order
- Add missing documentation for
bypass-proxy-foroption - Drop support for unmaintained Symfony versions (only supported versions)
- Fix documentation for displaying PDF in the browser
-
v1.1.014 Dec 2018Release notes
Open source →- 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.
-
v1.0.422 Jan 2018Release notes
Open source →- Support cache-dir for Image generation (see #297).
Thank you @dimitrilahaye for their work.
-
v1.0.303 Dec 2017Release notes
Open source →- Add support to Symfony 4 (#290)
- Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase (#287)
Credits go to @michaelperrin and @carusogabriel.
-
v1.0.204 Oct 2017Release notes
Open source →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_exportto log option values (see #283)
Credits go to: @barryvdh.
- Use logger context rather than
-
v1.0.121 Sep 2017 -
v0.5.016 Jun 2017Nothing published for this version
-
0.4.317 Nov 2015Nothing published for this version
-
0.4.216 Sep 2015Nothing published for this version
-
0.4.110 Aug 2015Nothing published for this version
-
0.3.4no dateNothing published for this version
-
0.3.311 Mar 2015Nothing published for this version
-
0.3.218 Dec 2014Nothing published for this version
-
0.3.126 Nov 2014Nothing published for this version
-
0.3.024 Nov 2014Nothing published for this version
-
0.2.114 Oct 2014Nothing published for this version
-
0.2.020 Mar 2014Nothing published for this version
-
0.1.206 Sep 2013Nothing published for this version
-
0.1.110 Apr 2013Nothing published for this version
-
0.1.007 Nov 2012Nothing published for this version
-
v1.020 Sep 2017Nothing published for this version
-
0.407 May 2015Nothing published for this version