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
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| barryvdh/laravel-dompdf | 0.91 | 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,285 | 7,380 | 977 | 4M | 97 | 82.4 | 68.1 | MIT | 4 months ago | |
| 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,159 | 11,300 | 1,834 | 6M | 497 | 81.7 | 66.8 | LGPL-2.1 | 1 day ago | |
| barryvdh/laravel-snappy | 0.91 | 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,786 | 281 | 559K | 43 | 54.6 | 53.5 | MIT | 4 months ago | |
| spipu/html2pdf | 0.89 | 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,767 | 1,811 | 739 | 159K | 236 | 50.1 | 50.1 | OSL-3.0 | 1 year ago | |
| 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. | 172 | 173 | 11 | 12K | 0 | 20.6 | 29.1 | MIT | 2 months ago | |
| niklasravnsborg/laravel-pdf | 0.87 | — | 716 | 706 | 214 | 53K | 30 | 10.0 | 27.4 | — | — | |
| itbz/fpdf | 0.87 | 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 | — | |
| creavio/pdf-bundle | 0.86 | — | 0 | 0 | 0 | 0 | 0 | 0.3 | — | — | 8 years ago | |
| php-dominicana/laravel-model-export | 0.86 | — | 2 | 2 | 1 | 0 | 0 | 0.9 | — | — | 1 year ago | |
| eckinox/php-puppeteer | 0.86 | 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 | 66 | 0 | 0.9 | 20.4 | MIT | 4 years ago |
How can I help you explore Laravel packages today?