Best alternative to DomPDF?

This page summarizes the projects mentioned and recommended in the original post on /r/PHP

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
  1. Snappy

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

    Snappy - https://github.com/KnpLabs/snappy/graphs/contributors

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. puphpeteer

    Discontinued A Puppeteer bridge for PHP, supporting the entire API.

  4. PHPPdf

    Pdf and graphic files generator library written in php

    PHPPdf - https://github.com/psliwa/PHPPdf

  5. WKHTMLToPDF

    Discontinued Convert HTML to PDF using Webkit (QtWebKit)

    WKHTMLToPDF - https://github.com/wkhtmltopdf/wkhtmltopdf

  6. gotenberg

    A developer-friendly API for converting numerous document formats into PDF files, and more!

    https://gotenberg.dev/ is what you want. Gotenburg provides an api to do all sorts of conversions. Word conversion is basically headless open office.

  7. pandoc

    Universal markup converter

    Pandoc a universal document converter, might be an alternative if you could run that like a "service"

  8. mPDF

    PHP library generating PDF files from UTF-8 encoded HTML

    The one I used a few times where a headless browser or another service was not an option was mPDF: https://github.com/mpdf/mpdf

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. gotenberg-php

    🐘 A PHP client for interacting with Gotenberg.

    There is also a PHP client to ease the interactions with the API: https://github.com/gotenberg/gotenberg-php

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • (Free) Open-source PDF Generation/Export

    15 projects | /r/dotnet | 6 Jun 2023
  • Intro to DOMPDF - lightest and simplest PHP library to generate PDF documents

    4 projects | dev.to | 5 Apr 2024
  • How to Simply Generate a PDF From HTML in Symfony With WeasyPrint

    6 projects | dev.to | 12 Dec 2023
  • Dompdf as a Phar

    1 project | /r/PHPhelp | 21 Jul 2023
  • HTML to PDF package that supports RTL language?

    4 projects | /r/laravel | 11 May 2023

Did you know that PHP is
the 14th most popular programming language
based on number of references?