spatie/laravel-pdf
Generate PDFs in Laravel from Blade views with a fluent API. Choose drivers like Chromium (Browsershot), Gotenberg, Cloudflare, WeasyPrint, or DOMPDF. Save to disk or return as a response, with support for modern CSS and paged media.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| dompdf/dompdf | 0.90 | 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,105 | 11,264 | 1,825 | 5M | 511 | 89.0 | 71.3 | LGPL-2.1 | 1 month ago | |
| barryvdh/laravel-snappy | 0.88 | Laravel wrapper for wkhtmltopdf and wkhtmltoimage, enabling fast HTML-to-PDF and HTML-to-image generation. Supports headers/footers, page options, and easy integration with views, files, and responses for downloads or storage. | 2,754 | 2,783 | 285 | 521K | 43 | 61.5 | 57.4 | MIT | 3 weeks ago | |
| barryvdh/laravel-dompdf | 0.88 | Laravel wrapper for Dompdf to generate PDFs from HTML views. Provides a PDF facade/service, easy rendering, streaming or downloading responses, and simple configuration—ideal for invoices, reports, and other printable documents in Laravel apps. | 7,255 | 7,357 | 980 | 3M | 97 | 89.2 | 71.0 | MIT | 3 weeks ago | |
| setasign/fpdi | 0.86 | FPDI is a PHP library that imports pages from existing PDF files and uses them as templates in FPDF, TCPDF, or tFPDF. No special PHP extensions required. Supports modern, namespaced (v2) code with PSR-4 autoloading and better performance. | 1,239 | 1,271 | 177 | 4M | 8 | 42.7 | 59.5 | MIT | 3 weeks ago | |
| smalot/pdfparser | 0.86 | Standalone PHP PDF parsing library to extract text, pages, and metadata from PDFs. Supports compressed PDFs and various encodings, with configurable parsing options. Note: secured PDFs and form data extraction are not supported. | 2,671 | 2,722 | 576 | 2M | 194 | 77.7 | 73.1 | LGPL-3.0 | 4 weeks ago | |
| spatie/laravel-data | 0.85 | Define rich, typed data objects once and use them for requests, validation, API resources/transformers, and TypeScript definitions. Create from arrays/requests/models, apply rules automatically, and transform only what’s needed with lazy properties. | 1,720 | 1,726 | 277 | 2M | 13 | 51.1 | 55.8 | MIT | 6 days ago | |
| spatie/laravel-mailable-test | 0.83 | Adds an Artisan command to quickly send any Laravel Mailable to a chosen email address for preview and debugging, without filling out forms or running full app flows. Constructor parameters are detected and passed automatically. | 149 | 152 | 14 | 4K | 0 | 27.5 | 24.0 | MIT | 1 month ago | |
| spatie/laravel-health | 0.83 | Monitor your Laravel app’s health by registering checks (disk space, etc.) with warning/fail thresholds. Get notified via mail or Slack when checks degrade, and extend with custom checks for proactive alerting. | 859 | 868 | 174 | 593K | 0 | 39.4 | 46.1 | MIT | 3 weeks ago |
How can I help you explore Laravel packages today?