Getting Started
Getting up and running with WeasyPrint for PHP is straightforward. Within minutes, you'll be able to use WeasyPrint in your PHP projects to generate beautiful PDFs.
Check Version Compatibility
Before diving in, please review the version support table, which outlines the compatibility between different versions of WeasyPrint and the package. Typically, it's recommended to ensure you're using the latest versions of both WeasyPrint and the package.
Installation
First make sure the appropriate version of WeasyPrint is installed on your system:
WeasyPrint Installation Docs ↗Then, install the package with Composer:
shell
composer require rockett/weasyprintIf you're using Laravel, see the Laravel integration guide for additional steps (optional).