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

Php Weasyprint Laravel Package

pontedilana/php-weasyprint

Laravel-friendly PHP wrapper for WeasyPrint to render HTML/CSS into high-quality PDFs (and images) via a simple API. Ideal for invoices, reports, and templated documents, with options for assets, headers/footers, and configuration.

View on GitHub
Deep Wiki
Context7
2.5.0

Added

  • Support WeasyPrint options (--info, --quiet, --verbose, --debug, --version, --no-http-redirects, --fail-on-http-errors)
2.4.0

Added

  • Support WeasyPrint 68.0 new --attachment-relationship and --xmp-metadata options
2.3.0

Added

  • Support WeasyPrint 67.0 new --allowed-protocols option
  • Support Symfony 8.0
  • More tests
2.2.0

Added

  • Support PHP 8.5
  • More tests
2.1.0

Added

  • Support WeasyPrint 66.0 new --pdf-tags option
2.0.0

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

1.5.0

Added

  • Support WeasyPrint 63.0 new srgb option
  • Added support for PHP 8.4
1.4.0

Changed

  • Added support for Symfony 7.0 and PHP 8.3
1.3.0

Added

  • Support WeasyPrint 60.0 new option
1.2.0

Added

  • Support WeasyPrint 59.0b1 new option
1.1.1

This is a security release: php-weasyprint is based on knplabs/knp-snappy, CVE-2023-28115 has been issued for it on 2023-03-17

Security

  • Implement countermeasures for CVE-2023-28115
1.1.0

Added

  • Support WeasyPrint 58 new option (--pdf-forms)

Changed

  • Always pass through timeout when creating a process (#7)
1.0.1

Fixed

  • Fix logging of errors
1.0.0

Fixed

  • Fixed handling of repeatable options (attachment and stylesheet)

Changed

  • Bump symfony/process up to ^6.2

Removed

  • Remove Image class
  • Remove Version class
  • Remove support for Symfony 4.4
0.13.0

Added

  • Support WeasyPrint 56 new options

Deprecated

  • Deprecate image generator
  • Deprecate Version class
0.11.0

What's Changed

New Contributors

Full Changelog: https://github.com/pontedilana/php-weasyprint/compare/0.10.1...0.11.0

0.10.1

Fixed

  • Refactor tests to use onlyMethods()
0.10.0

Removed --format option default value, this option was deprecated in WeasyPrint 53 and removed in WeasiPrint 54. If you still use WeasyPrint 52 or lower you can set this option back with ->setOption():

$weasyprint = new \Pontedilana\PhpWeasyPrint\Pdf('/usr/local/bin/weasyprint');
$weasyprint->setOption('format', 'pdf');

Changed

  • Unset --format option in Pdf class which is deprecated in WeasyPrint 53 and removed in WeasyPrint 54
0.9.0

First public release

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
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
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