Skip to content

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.

Supported Versions →

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/weasyprint

If you're using Laravel, see the Laravel integration guide for additional steps (optional).

Released under the ISC License.