spipu/html2pdf
HTML2PDF converts HTML/CSS into PDF documents with a straightforward PHP API. Supports page setup, headers/footers, images, fonts and Unicode, tables, and basic CSS styling. Useful for invoices, reports, and print-ready exports in web apps.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 94noni/html2pdf-bundle | 0.88 | — | 1 | 1 | 0 | 0 | 0 | 0.9 | — | — | 4 years ago | |
| spatie/laravel-pdf | 0.88 | Generate PDFs from Laravel Blade views with a simple fluent API. Choose drivers like Browsershot/Chromium, Gotenberg, Cloudflare Browser Run, WeasyPrint, DOMPDF, or chrome-php. Use modern CSS, set page formats, and stream or save PDFs. | 1,039 | 1,041 | 102 | 573K | 1 | 36.5 | 43.6 | MIT | 1 month ago | |
| carlescliment/html2pdf-bundle | 0.87 | — | 1 | 1 | 0 | 0 | 0 | 0.0 | — | GPL-2.0 | — | |
| eckinox/php-puppeteer | 0.87 | Generate PDFs in PHP using Puppeteer. Render from a URL or HTML string with a simple API and minimal dependencies. Includes setup guidance for installing Puppeteer/Chromium and basic examples for returning PDF output. | 1 | 1 | 0 | 53 | 0 | 0.9 | 19.9 | MIT | 4 years ago | |
| niklasravnsborg/laravel-pdf | 0.86 | — | 716 | 706 | 214 | 53K | 30 | 10.0 | 27.4 | — | — | |
| xslain/html2media | 0.86 | — | 0 | 0 | 0 | 0 | 0 | 6.2 | — | MIT | 10 months ago | |
| barryvdh/laravel-dompdf | 0.86 | Laravel wrapper for DOMPDF that makes generating PDFs from Blade views straightforward. Supports streaming or downloading, paper size/orientation options, and basic HTML/CSS rendering—ideal for invoices, reports, and other server-side PDF output in Laravel apps. | 7,286 | 7,380 | 976 | 4M | 97 | 81.6 | 67.6 | MIT | 4 months ago | |
| greenter/htmltopdf | 0.86 | — | 7 | 6 | 4 | 602 | 0 | 2.0 | 26.0 | MIT | 7 years ago | |
| itbz/fpdf | 0.86 | Discontinued PSR-0/Composer package for FPDF 1.7, namespaced as \fpdf\FPDF. Includes FPDF_EXTENDED with UTF-8 input, easier page totals, relative image paths, cursor move helpers, graceful font fallback, and GetPdf(). | 85 | 86 | 40 | 9K | 0 | 0.8 | 19.6 | NOASSERTION | — | |
| barryvdh/laravel-snappy | 0.86 | Generate PDF and image files in Laravel using wkhtmltopdf/wkhtmltoimage. Provides simple facades and service provider setup, config options, and easy rendering from views or HTML strings with headers, footers, and custom binaries. | 2,754 | 2,782 | 281 | 539K | 43 | 53.7 | 53.4 | MIT | 4 months ago | |
| pontedilana/php-weasyprint | 0.85 | PHP 8.3+ wrapper around WeasyPrint (v60+) to generate PDFs from URLs or HTML. Snappy-inspired, drop-in style API with strict typing. Set the weasyprint binary, pass CLI options, stream to browser or write files. | 79 | 79 | 13 | 50K | 1 | 24.5 | 44.3 | MIT | 2 months ago | |
| mikehaertl/phpwkhtmltopdf | 0.85 | — | 1,608 | 1,627 | 233 | 450K | 3 | 18.7 | 34.1 | MIT | 5 years ago | |
| dompdf/dompdf | 0.84 | Dompdf is a PHP HTML-to-PDF converter with a CSS 2.1-focused rendering engine. Supports external stylesheets, complex tables, common image formats, basic SVG, and runs without external PDF libraries. Requires PHP 7.1+ and DOM/MBString. | 11,167 | 11,331 | 1,835 | 7M | 498 | 88.5 | 71.7 | LGPL-2.1 | 2 weeks ago | |
| whiteoctober/tcpdf-bundle | 0.84 | — | 89 | 96 | 42 | 3K | 7 | 2.4 | 16.1 | — | 7 years ago |
How can I help you explore Laravel packages today?