spatie/laravel-pdf
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| dompdf/dompdf | 0.91 | 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,137 | 11,278 | 1,832 | 6M | 495 | 83.9 | 68.2 | LGPL-2.1 | 3 months ago | |
| barryvdh/laravel-dompdf | 0.89 | Generate PDFs in Laravel using Dompdf. Render Blade views or HTML to PDF, set paper size/orientation, stream or download responses, and configure fonts/options. Popular, straightforward integration for invoices, reports, and documents. | 7,265 | 7,362 | 980 | 4M | 97 | 85.3 | 68.9 | MIT | 2 months ago | |
| itbz/fpdf | 0.89 | 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 | 12K | 0 | 0.8 | 21.0 | NOASSERTION | — | |
| spipu/html2pdf | 0.88 | 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. | 1,766 | 1,811 | 744 | 149K | 236 | 50.3 | 49.9 | OSL-3.0 | 11 months ago | |
| niklasravnsborg/laravel-pdf | 0.88 | — | 717 | 706 | 215 | 51K | 30 | 10.0 | 27.2 | — | — | |
| mostafaznv/pdf-optimizer | 0.87 | Optimize and compress PDFs in PHP or Laravel using Ghostscript. Fluent, chainable API with rich options, logging, and customization. Laravel-friendly inputs (paths, uploads, disks) plus queue support for async optimization. | 171 | 172 | 11 | 13K | 0 | 23.0 | 30.0 | MIT | 1 month ago | |
| tecnick.com/tcpdf | 0.87 | — | 4,545 | 4,570 | 1,592 | 16K | 1 | 37.8 | 9.0 | NOASSERTION | — |
How can I help you explore Laravel packages today?