PDF generation

Warning: WKHTMLTOPDF will be removed from Silverstripe Cloud platforms on July 15 2025. We recommend looking into alternative solutions for your HTML to PDF functionality

Your can determine if you Silverstripe Cloud platform application is using WKHTMLTOPDF by looking at the .platform.yml file in your application codebase.

packages:
  wkhtmltopdf: {}

After July 15 2025, your next full deployment will automatically remove this package from your environment automatically, we recommend looking at an alternative solution.

Silverstripe developers recommend using Browser based support for print to PDF or PHP modules such as Dompdf as an alternative solution.

Was this answer helpful? Yes No

Sorry we couldn't be helpful. Help us improve this article with your feedback.