SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 PHP PDF Projects
-
Project mention: dompdf Alternatives: HTML to PDF in Laravel Without a Headless Browser | dev.to | 2026-07-15
dompdf is a pure PHP renderer, which is exactly why people reach for it: composer require and you are generating PDFs with no binaries and no system dependencies. The cost is the rendering engine. dompdf implements CSS 2.1 with a partial layer of CSS3, and that ceiling shapes everything you build on it.
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
-
-
Project mention: Laravel 13 Generate a PDF and Email It as an Attachment (DomPDF and Mailable) | dev.to | 2026-11-13
laravel-dompdf documentation
-
Project mention: How to Take a Website Screenshot in PHP (Browsershot and the API Alternative) | dev.to | 2026-07-17
Browsershot is the most popular PHP screenshot library. It does not render anything itself; it shells out to a Node.js script that drives Puppeteer and a headless Chromium. So the API is clean PHP, but the work happens in a real browser:
-
Generating PDFs usually means mpdf, which is GPL-2.0. Fine for internal tools, a licensing headache the moment you ship it inside a commercial, OEM, or on-premise product.
-
TCPDF
Deprecated: PHP PDF library, superseded by tc-lib-pdf (https://github.com/tecnickcom/tc-lib-pdf)
-
Snappy
PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage (by KnpLabs)
-
-
-
FPDI
FPDI is a collection of PHP classes facilitating developers to read pages from existing PDF documents and use them as templates in FPDF.
-
-
Shaark
Self-hosted platform to keep and share your content: web links, posts, passwords and pictures.
-
-
-
-
-
-
docking
DocKing: Your shared-microservice that takes over the document templates management & render/export PDF
-
-
-
php-weasyprint
PHP library allowing PDF generation or snapshot from an URL or an HTML page. Wrapper for Kozea/WeasyPrint
-
-
FileBasedMiniDMS
This php script sorts your documents (by using hardlinks) into subfolders based on the hashtags it finds in your documents filenames.
PHP PDF discussion
PHP PDF related posts
-
Laravel 13 Generate a PDF and Email It as an Attachment (DomPDF and Mailable)
-
15,000 e-invoices, 12 generators: 4 setups pass every validator and still bill the wrong amount
-
How to Take a Website Screenshot in PHP (Browsershot and the API Alternative)
-
dompdf Alternatives: HTML to PDF in Laravel Without a Headless Browser
-
Browsershot Alternatives: HTML to Image in Laravel Without Puppeteer
-
Generate, read, and merge PDFs in PHP — no GPL, no FPDI
-
I shipped a website-to-PDF SaaS on WordPress — here's the stack
-
A note from our sponsor - SaaSHub
www.saashub.com | 13 Nov 2026
Index
What are some of the best open-source PDF projects in PHP? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | Dompdf | 11,208 |
| 2 | PHPWord | 7,589 |
| 3 | laravel-dompdf | 7,294 |
| 4 | browsershot | 5,251 |
| 5 | mPDF | 4,709 |
| 6 | TCPDF | 4,524 |
| 7 | Snappy | 4,473 |
| 8 | tc-lib-pdf | 1,932 |
| 9 | pdf-to-image | 1,461 |
| 10 | FPDI | 1,251 |
| 11 | libresign | 844 |
| 12 | Shaark | 593 |
| 13 | PHPJasper | 491 |
| 14 | gotenberg-php | 404 |
| 15 | tcpdf-laravel | 357 |
| 16 | i-librarian-free | 357 |
| 17 | PHPPdf | 334 |
| 18 | docking | 269 |
| 19 | invoice-as-a-service | 218 |
| 20 | ibis-next | 124 |
| 21 | php-weasyprint | 80 |
| 22 | WeasyPrintBundle | 40 |
| 23 | FileBasedMiniDMS | 38 |