A feature-rich Laravel wrapper for the WeasyPrint Document Factory. Mirrors to https://github.com/mikerockett/weasyprint. Docs: https://weasyprint.rockett.pw
  • PHP 99.2%
  • Dockerfile 0.4%
  • Just 0.4%
Find a file
Mike Rockétt 78e2864f05
All checks were successful
Run Tests / test (, 8.4, 68.0) (pull_request) Successful in 32s
Run Tests / test (, 8.4, 67.0) (pull_request) Successful in 39s
Run Tests / test (, 8.5, 67.0) (pull_request) Successful in 30s
Run Tests / test (, 8.3, 68.0) (pull_request) Successful in 1m6s
Run Tests / test (, 8.5, 68.0) (pull_request) Successful in 27s
Run Tests / test (, 8.3, 67.0) (pull_request) Successful in 1m8s
Run Tests / test (--prefer-lowest --prefer-stable, 8.3, 67.0) (pull_request) Successful in 1m2s
Publish Package / publish (push) Successful in 6s
restructure changelog to keep a changelog format with dated releases [skip tests]
2026-05-01 17:13:22 +02:00
.forgejo/workflows add mago lint and analyze to ci and justfile; harden temp file handling and null-safety in Source, BuildTraveler, and FakeWeasyPrint 2026-05-01 16:35:22 +02:00
assets update docs; swap out logo files 2024-05-01 10:19:49 +02:00
src replace inline fully-qualified class references with imports 2026-05-01 16:58:31 +02:00
tests replace inline fully-qualified class references with imports 2026-05-01 16:58:31 +02:00
.gitattributes harden against argument injection with -- separator and stricter config validation; add MediaType enum, WeasyPrintException marker interface, temp file path/permission checks, and prefer-lowest CI matrix 2026-05-01 16:17:02 +02:00
.gitignore cs-fixer replaces stout; new test suite for core + laravel; rename service provider; move supported versions to main service 2025-11-29 17:29:57 +02:00
.php-cs-fixer.dist.php cs-fixer replaces stout; new test suite for core + laravel; rename service provider; move supported versions to main service 2025-11-29 17:29:57 +02:00
analyzer-baseline.toml document mago lint and analyze workflow in CONTRIBUTING; refresh analyzer baseline line reference 2026-05-01 17:03:41 +02:00
CHANGELOG.md restructure changelog to keep a changelog format with dated releases [skip tests] 2026-05-01 17:13:22 +02:00
composer.json add mago lint and analyze to ci and justfile; harden temp file handling and null-safety in Source, BuildTraveler, and FakeWeasyPrint 2026-05-01 16:35:22 +02:00
CONTRIBUTING.md document mago lint and analyze workflow in CONTRIBUTING; refresh analyzer baseline line reference 2026-05-01 17:03:41 +02:00
docker-compose.yml use git archive for release packaging with gitattributes export-ignore rules; rename docker-compose.yaml to docker-compose.yml 2026-04-24 19:46:01 +02:00
Dockerfile add docker-based dev environment with dockerfile, compose, and justfile; document usage in contributing; drop nodejs from ci deps 2026-04-24 19:01:16 +02:00
justfile add mago lint and analyze to ci and justfile; harden temp file handling and null-safety in Source, BuildTraveler, and FakeWeasyPrint 2026-05-01 16:35:22 +02:00
LICENSE.md isc license update 2026-04-26 15:26:15 +02:00
linter-baseline.toml add mago lint and analyze to ci and justfile; harden temp file handling and null-safety in Source, BuildTraveler, and FakeWeasyPrint 2026-05-01 16:35:22 +02:00
mago.toml add mago lint and analyze to ci and justfile; harden temp file handling and null-safety in Source, BuildTraveler, and FakeWeasyPrint 2026-05-01 16:35:22 +02:00
phpunit.xml clean up phpunit 2025-11-29 17:39:07 +02:00
README.md fix readme badge 2025-11-29 18:36:27 +02:00
SECURITY.md harden against argument injection with -- separator and stricter config validation; add MediaType enum, WeasyPrintException marker interface, temp file path/permission checks, and prefer-lowest CI matrix 2026-05-01 16:17:02 +02:00
UPGRADING.md correct upgrade guide class names and version requirements; add [skip tests] support to ci workflow [skip tests] 2026-04-25 11:28:39 +02:00

WeasyPrint for PHP

License Version Downloads Tests

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.