spatie/browsershot
Browsershot renders web pages to images or PDFs using Puppeteer and headless Chrome. Accept HTML, local files, or URLs, run JavaScript, capture body HTML and triggered requests, and customize headless behavior from PHP.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/crawler | 0.92 | A powerful PHP package for crawling websites, using Guzzle promises to fetch multiple URLs concurrently. It can render JavaScript via Chrome and Puppeteer, restrict crawls to internal links or depth, collect found URLs, and fake HTTP responses for testing crawl logic. | 2,829 | 2,843 | 368 | 1M | 0 | 52.5 | 41.5 | MIT | 2 months ago | |
| spatie/pdf-to-image | 0.91 | Convert PDF pages to images with this simple PHP class built on Imagick and Ghostscript. Save as jpg, jpeg, png, or webp, render any page, and check page counts. Requires PHP 8.2+. | 1,460 | 1,481 | 231 | 775K | 0 | 40.7 | 43.2 | MIT | 1 month ago | |
| padocia/laravel-nova-pdf | 0.89 | Laravel Nova PDF adds PDF handling to Nova resources, letting you generate, preview, and download PDF documents from your admin panel using familiar Laravel and Blade workflows. | 23 | 23 | 8 | 734 | 5 | 2.1 | 22.1 | MIT | 5 years ago | |
| pdfcrowd/pdfcrowd | 0.88 | PHP client library for the PDFCrowd API that converts HTML, URLs, and images to PDF and other formats. Configure custom headers, footers, page templates, encryption, and rendering options, then stream or save the generated output to disk. Installs easily via Composer. | 62 | 63 | 49 | 23K | 1 | 1.9 | 35.4 | MIT | — | |
| directorytree/screenshot | 0.87 | Laravel package for capturing screenshots of web pages with a simple, driver-based API. Point it at a URL and get an image back, with support for popular screenshot services and headless browsers. Configurable, queue-friendly, and easy to drop into any Laravel app. | 36 | 12 | 2 | 581 | 0 | 19.4 | 18.5 | MIT | 3 weeks ago | |
| nayluge/browsershot-bundle | 0.87 | A Symfony bundle that integrates Spatie Browsershot for generating PDFs and screenshots from HTML using headless Chrome. It provides bundle configuration and service wiring to convert web pages or rendered templates into images and documents. | 4 | 4 | 0 | 0 | 0 | 0.3 | — | — | 7 years ago | |
| tfox/mpdf-port-bundle | 0.87 | A Symfony bundle that integrates the mPDF library, providing service configuration and a straightforward way to generate PDFs from HTML in Symfony applications. | 0 | 1 | — | 2K | — | 0.0 | 46.2 | — | — | |
| dompdf/dompdf | 0.86 | Dompdf is a PHP library that converts HTML to PDF using a mostly CSS 2.1-compliant layout and rendering engine. It supports external stylesheets, complex tables, images, inline PHP, and basic SVG without external PDF libraries. | 11,208 | 11,356 | 1,848 | 12M | 513 | 83.5 | 72.1 | LGPL-2.1 | 3 months ago | |
| grabzit/grabzit | 0.86 | Official GrabzIt PHP library for capturing website screenshots, PDFs, and web data through the GrabzIt API. Add screenshot, PDF generation, HTML snapshot, and scraping features to Laravel or PHP applications with a simple client. | 70 | — | 33 | — | 0 | 2.3 | 3.1 | MIT | 8 years ago |
|
| netgen/htmlpdfapi | 0.86 | Netgen HTMLPDFAPI is a PHP client for the HTMLPDFAPI service that converts HTML to PDF. Send raw HTML or a URL, configure your API credentials, and generate PDFs for invoices, reports, and other documents from your application. | 10 | 10 | 5 | 0 | 0 | 0.1 | — | GPL-2.0 | — | |
| pontedilana/php-weasyprint | 0.86 | PhpWeasyPrint is a PHP wrapper for WeasyPrint that generates PDFs from URLs or HTML. Inspired by Snappy and built as a drop-in replacement, it offers a strictly typed GeneratorInterface and requires PHP 8.3+ plus WeasyPrint 60 or greater. | 80 | 79 | 13 | 50K | 1 | 19.7 | 42.5 | MIT | 5 months ago | |
| spatie/laravel-pdf | 0.86 | Create PDFs in Laravel apps from Blade views using Chromium (Browsershot, chrome-php), Gotenberg, Cloudflare Browser Run, WeasyPrint, or DOMPDF. Save to disk or return as a download, with full control over page format and modern CSS. | 1,054 | 1,054 | 107 | 1M | 0 | 39.1 | 50.1 | MIT | 1 month ago | |
| spatie/laravel-screenshot | 0.86 | Driver-based Laravel package for taking web page screenshots with great defaults. Use Browsershot (Chromium) or Cloudflare Browser Rendering, customize viewport/format/quality, save to files, and easily fake/assert screenshots in tests. | 86 | 86 | 3 | 42K | 0 | 7.7 | 39.0 | MIT | 8 months ago | |
| pxlrbt/laravel-pdfable | 0.86 | pxlrbt/laravel-pdfable adds a lightweight trait to Eloquent models for generating PDFs. Point a model at a Blade view, then download or stream the finished PDF with a single method call—keeping document generation out of your controllers. Handy for invoices, reports, and exports. | 76 | 75 | 8 | 183 | 0 | 8.5 | 7.8 | MIT | 7 months ago | |
| wnx/sidecar-browsershot | 0.86 | Run Browsershot on AWS Lambda via Sidecar for Laravel. Generate PDFs and screenshots without installing Node, Puppeteer, or Google Chrome on your server—headless Chrome runs on Lambda instead. Install via Composer, register the function in sidecar.php, and deploy with sidecar:deploy. | 236 | 237 | 34 | 129K | 6 | 33.9 | 46.4 | MIT | 1 week ago | |
| eve/pdf-converter | 0.86 | A Laravel package for converting PDF files, offering a simple API to handle PDF transformation tasks within your PHP applications. Lightweight and easy to integrate, it helps streamline document conversion workflows with minimal setup. | 11 | 11 | 1 | 0 | 0 | 0.1 | — | — | 4 years ago | |
| soqrate/html2pdf | 0.85 | soqrate/html2pdf is a Laravel/PHP package for converting HTML and Blade templates into PDF documents. It provides a simple API for generating downloadable or streamable PDFs, with configurable options for page size, orientation, and styling. | 0 | 1 | — | 0 | — | 0.0 | — | — | — | |
| institut-agro-ead/html2media | 0.85 | A Laravel/PHP package for converting HTML into media such as images or PDFs. Generate visual assets from Blade views or raw markup via a simple, configurable API—useful for reports, thumbnails, social cards, and automated document generation. | 0 | — | 0 | — | 0 | 0.3 | — | MIT | 1 year ago | |
| breuer/laravel-pdf-chrome-driver | 0.85 | A Laravel PDF driver that turns Blade/HTML into PDFs using headless Chrome, so modern CSS, fonts, and layouts render faithfully. Register it as your PDF driver and generate invoices, reports, and other documents with minimal setup. | 7 | 7 | 2 | 170 | 1 | 9.3 | 20.1 | MIT | 6 months ago | |
| verumconsilium/laravel-browsershot | 0.85 | A Laravel wrapper for Browsershot that turns HTML into PDFs and screenshots via headless Chrome. Configure named instances, set global options, and capture pages with a clean facade and fluent API. | 109 | — | 18 | — | 11 | 5.2 | 6.0 | MIT | 7 years ago |
How can I help you explore Laravel packages today?