Versions & Compatibility
This package aims to support the latest version of WeasyPrint at the bare minimum. It also supports older versions of WeasyPrint, provided their CLI APIs are identical.
Since WeasyPrint makes CLI API changes only in new major versions, this package releases a new major version each time to reflect the drift.
If WeasyPrint has consecutive releases without CLI API changes, this package supports all of them under a single version.
For detailed information about changes and upgrade paths:
- Changelog – Documents all changes between versions
- Upgrade Guide – Documents all upgrade paths
Supported Versions
Current means the latest maintained version. Versions in Maintenance only get security updates and bug fixes.
| Version | Status | WeasyPrint Version | Laravel * | PHP | Branch |
|---|---|---|---|---|---|
| 11.x | Current | 67, 68 | 12.x, 13.x | 8.3+ | 11.x |
| 10.x | Maintenance | 63, 64, 65, 66, 67**, 68 | 10.x, 11.x, 12.x | 8.2+ | 10.x |
* Important considerations about Laravel/Illuminate
Before v11, the package was WeasyPrint for Laravel and required Laravel as a dependency. It now runs independently without any framework requirements, though a Laravel binding is still available for those who want it.
The package still requires illuminate/support (tied to the versions listed above), which creates a versioning constraint for Laravel users, but doesn't affect framework-agnostic setups unless they use illuminate/support themselves.
We may introduce integrations for other frameworks like Tempest in the future.
** WeasyPrint 67 support in 10.x
While support for WeasyPrint 67 was added in v10, the new CLI flags it introduced were not implemented until v11 of the package was released.
Unsupported Versions
We typically maintain up to two versions at a time, or just the current version if maintenance has aged out and there are no new releases in the pipeline (ex: if WeasyPrint development is paused or delayed for an extended period of time).
The versions listed below are no longer supported and should not be used for new projects. Existing projects using unsupported versions should upgrade to a supported version.
| Version | WeasyPrint Version | Laravel | PHP |
|---|---|---|---|
9.x | 61, 62 | 10.x, 11.x | 8.2+ |
8.1.x | 59, 60, 61 | 10.x, 11.x | 8.1+ |
8.0.x | 59, 60 | 10.x | 8.1+ |
7.x | Unchecked | 10.x | 8.1+ |
6.x | Unchecked | 8.47 | 8.0+ |
5.x | Unchecked | 8.0 | 8.0+ |
4.x | Unchecked | 7.x, 8.x, 9.x, 10.x | 7.3+ |
Documentation for unsupported versions is not available on this site.
Some older versions may have their own documentation in their READMEs, which are accessible via the applicable version branches on GitHub.