Ross ROSS = Recommend OSS · open-source software intelligence for agents

spatie/laravel-pdf

Create PDF files in Laravel apps observed · 2026-08-28

github.com/spatie/laravel-pdf · homepage · PHP · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

92/100

  • Activity 98
  • Release rhythm 98
  • Longevity 70
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 9
  • age_days: 985
  • days_rel: 16
  • days_push: 16
  • n_releases_24m: 26

Full methodology

Adoption not part of the score

1041 stars · 106 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A Laravel package for generating PDF files from Blade views using a driver-based architecture. It supports multiple backends including Browsershot (Chromium), Gotenberg, Cloudflare Browser Run, WeasyPrint, DOMPDF, and chrome-php/chrome.

Use cases

  • generate pdf invoices from blade views in laravel
  • render html to pdf in a php laravel app
  • download pdf response from a laravel controller
  • generate pdfs with tailwind css styling
  • test pdf responses in laravel feature tests
  • generate pdfs in docker without installing chrome locally

When to choose

  • you are building a Laravel 11+ / PHP 8.2+ app and need PDF generation from HTML views
  • you want flexibility to swap PDF engines (Chromium, Gotenberg, WeasyPrint, DOMPDF) via config
  • you need modern CSS (grid, flexbox, Tailwind) in generated PDFs via Chromium-based drivers
  • you want built-in testing helpers like Pdf::fake() and assertion methods

When to avoid

  • you are not using the Laravel framework
  • you need to manipulate or parse existing PDFs rather than create them
  • your host cannot run Node.js/Chrome, Docker, or Python and you need advanced CSS beyond DOMPDF's CSS 2.1 support

Facets

library · maturity active

pdf templating testing web-development pdf backend php cloud laravel-package pdf-generation blade-views driver-based spatie laravel docker

10 sources

Member repositories

RepositoryRoleHealth v2
spatie/laravel-pdfmain92

For agents

markdown · JSON · MCP: product_card(name="spatie/laravel-pdf")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem