PHP HTML-to-PDF

Open-source PHP projects categorized as HTML-to-PDF

Top 3 PHP HTML-to-PDF Projects

  • Dompdf

    HTML to PDF converter for PHP

  • Project mention: Intro to DOMPDF - lightest and simplest PHP library to generate PDF documents | dev.to | 2024-04-05

    Generating PDF documents out of your app's HTML output is a very common requirement and there are several open source libraries to accomplish this. I came across this need for my project recently and I evaluated many popular ones such as TCPDF, mpdf, FPDF, etc. But the one that truly stood up to my evaluation in terms of efficiency (minimal footprint) and ease of implementation was DOMPDF.

  • Snappy

    PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage (by KnpLabs)

  • Project mention: How to Simply Generate a PDF From HTML in Symfony With WeasyPrint | dev.to | 2023-12-12

    When I first looked for solutions to generate a PDF document in a Symfony application, I was amazed to find that a SymfonyCast was made about this. It features the PHP library Snappy, which is essentially a wrapper around wkhtmltopdf.

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • KnpSnappyBundle

    Easily create PDF and images in Symfony by converting html using webkit

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Index

What are some of the best open-source HTML-to-PDF projects in PHP? This list will help you:

Project Stars
1 Dompdf 10,252
2 Snappy 4,333
3 KnpSnappyBundle 1,219

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com