What do you use to make PDFs? What problems do you have?

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

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • mPDF

    PHP library generating PDF files from UTF-8 encoded HTML

  • We use mPDF which generates PDF files from UTF-8 encoded HTML. Works a treat for us.

  • Dompdf

    HTML to PDF converter for PHP

  • https://github.com/dompdf/dompdf worked fine so far and is plain PHP, but my use cases have been quite simple so far.

  • 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

  • FPDI

    FPDI is a collection of PHP classes facilitating developers to read pages from existing PDF documents and use them as templates in FPDF.

  • fpdi https://github.com/Setasign/FPDI in case when complex PDF need to have data added so it easier just put text over finished document

  • browserless

    Deploy headless browsers in Docker. Run on our cloud or bring your own. Free for non-commercial uses.

  • Nice! I also tried https://github.com/browserless/chrome

  • browsershot

    Convert HTML to an image, PDF or string

  • https://github.com/spatie/browsershot or any other package which uses puppeteer / headless chrome. Found this to be the best solution when compared with all the other pdf tools. This alongside with the CSS print module polyfill https://github.com/pagedjs/pagedjs makes working with PDFs a breeze.

  • pagedjs

    Display paginated content in the browser and generate print books using web technology

  • https://github.com/spatie/browsershot or any other package which uses puppeteer / headless chrome. Found this to be the best solution when compared with all the other pdf tools. This alongside with the CSS print module polyfill https://github.com/pagedjs/pagedjs makes working with PDFs a breeze.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • serverless-pdf-generator

    Serverless PDF generator

  • I use this: https://github.com/mnapoli/serverless-pdf-generator

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