Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Knp Snappy Laravel Package

knplabs/knp-snappy

Snappy is a PHP wrapper for wkhtmltopdf/wkhtmltoimage to generate PDFs, thumbnails, and snapshots from URLs or HTML. Supports Linux/macOS/Windows, configurable binaries and options, and integrates with Symfony and Laravel via community bundles.

View on GitHub
Deep Wiki
Context7
v1.5.1
v1.5.0

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: https://github.com/KnpLabs/snappy/compare/v1.4.4...v1.5.0

Thanks @endroid and @tacman!

v1.4.4

What's Changed

Full Changelog: https://github.com/KnpLabs/snappy/compare/v1.4.3...v1.4.4

v1.4.3

What's Changed

New Contributors

Full Changelog: https://github.com/KnpLabs/snappy/compare/v1.4.2...v1.4.3

v1.4.2

What's Changed

New Contributors

Full Changelog: https://github.com/KnpLabs/snappy/compare/v1.4.1...v1.4.2

v1.4.1

What's Changed

Full Changelog: https://github.com/KnpLabs/snappy/compare/v1.4.0...v1.4.1

v1.4.0

Hi!

This is a small release that allows symfony/process version 6.

What's Changed

Full Changelog: https://github.com/KnpLabs/snappy/compare/v1.3.1...v1.4.0

v1.3.1

What's Changed

Full Changelog: https://github.com/KnpLabs/snappy/compare/v1.3.0...v1.3.1

v1.3.0

What's Changed

New Contributors

Full Changelog: https://github.com/KnpLabs/snappy/compare/v1.2.1...v1.3.0

v1.2.1
  • Remove PHP 5.6 ToDo not longer needed #381
  • Explicitly implement LoggerAwareInterface #383
  • Add resetOption method #375

Thanks to @AdrianHL, @jmsfwk and @qroques for their work!

v1.2.0

Hi!

This release adds Symfony 5 support, as well as a few other minor changes: https://github.com/KnpLabs/snappy/compare/v1.1.0...v1.2.0

Enjoy!

v1.1.0
  • 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.4
  • Support cache-dir for Image generation (see #297).

Thank you @dimitrilahaye for your work.

v1.0.3
  • Add support to Symfony 4 (#290)
  • Use PHPUnit\Framework\TestCase instead of PHPUnit_Framework_TestCase (#287)

Credits go to @michaelperrin and @carusogabriel.

v1.0.2

1.0.2

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.

v1.0.1
  • Fix Call to a member function debug() on null logger
v1.0
  • Don't check if it's a file when the path is bigger than PHP_MAXPATHLEN (see #224)
  • Pass image-dpi and image-quality options as integer (see #251)
  • Improve documentation readability (see #255)
  • Add logging capabilities to generators (see #264)
  • Add some more frequent questions/issues to the FAQ (see #263, #265, #266)

Credits go to: @wouterbulten, @martinssipenko, @Herz3h, @akovalyov, @NiR-.

v0.5.0
  • Drop support for PHP v5.3, v5.4 and v5.5
  • Add support for PHP v7.1
  • Little docs fixes
  • Add quiet option to Image generator
  • Add keep-relative-links and resolve-relative-links
0.4.3
  • Added ability to install it with Symfony/Process ~3.0.
  • Added load-media-error-handling for image rendering.
0.4.2
0.4.1
0.3.4
0.3.3

Improve how we handle temporary files.

0.3.2

hasHtmlHeader and hasHtmlFooter is return to their default state each time handleOptions() is called

0.3.1

isFileFooter have missed argument - wkhtmltopdf throw error: Error: --footer-html should be a URL and not a string containing HTML code

0.3.0
  • Now remove only temporary files created by the generator, on __destruct()
  • Added a possibility to specify a custom temporary folder with a setTemporaryFolder() method
  • Updated composer install instructions
0.2.1
0.2.0
0.1.2

wkhtmltopsd clear support with composer/packagist

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport
twbs/bootstrap4
php-http/client-implementation
phpcr/phpcr-implementation
cucumber/gherkin-monorepo
haydenpierce/class-finder
psr/simple-cache-implementation