rockett / weasyprint
A feature-rich WeasyPrint wrapper for generating PDFs from HTML and CSS, with support for PDF/A, PDF/UA, attachments, and optional Laravel integration.
Requires
- php: ^8.3
- composer/semver: ^3.4
- illuminate/support: ^12.0|^13.0
- rockett/pipeline: ^4.1
- symfony/process: ^7.4|^8.0
Requires (Dev)
- carthage-software/mago: ^1.25
- friendsofphp/php-cs-fixer: ^3.91
- nunomaduro/collision: ^8.0
- orchestra/testbench: ^10.0|^11.0
- pestphp/pest: ^4.1
- smalot/pdfparser: ^2.7
This package is auto-updated.
Last update: 2026-06-02 20:16:44 UTC
README
A feature-rich PHP wrapper for the WeasyPrint Document Factory.
Documentation
You can view the documentation at weasyprint.rockett.pw.
Changelog and Upgrade Guide
- To see what has changed recently in the package, you can read CHANGELOG.md.
- The upgrade path from one version to the next is documented in UPGRADING.md.
Open Source and Contributing
Licensed under ISC, WeasyPrint for PHP is an open-source project, and is free to use. In fact, it will always be open-source, and will always be free to use. Forever. 🎉
If you would like to contribute a feature, enhancement or bug-fox to the package, please read CONTRIBUTING.md.
If you would like to support the development of WeasyPrint for PHP, please consider making a small donation via PayPal.