barryvdh/laravel-dompdf

A DOMPDF Wrapper for Laravel

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 3 minutes ago
Added to GitGenius on September 9th, 2026
Created on June 23rd, 2013
Open Issues & Pull Requests: 99 (+0)
GitHub issues: Enabled
Number of forks: 977
Total Stargazers: 7,283 (+0)
Total Subscribers: 112 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 27.9 hours
Mean response time: 187.8 days
90th percentile: 54.6 days
Tracked items: 56

How this project is maintained

Around half of the issues opened in the past year never receive a reply. 100% of open issues come from outside the core team, so the backlog reflects real-world use rather than internal planning. Only 0% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 32
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 982 days
Stale 30+ days: 32
Stale 90+ days: 31

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • stale (46)

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

Laravel-dompdf is a Laravel wrapper for the DOMPDF HTML to PDF converter library.

The tool solves the problem of generating PDFs from HTML content within Laravel applications. It wraps the DOMPDF library to provide a Laravel-native interface, allowing developers to load HTML from strings, files, or view templates and output the result as a downloadable file, browser stream, or raw string. The wrapper integrates with Laravel's service container and facade system, enabling flexible instantiation through dependency injection, the container, or a static facade.

Developers should choose this tool if they are building Laravel applications that need PDF generation capabilities. It suits projects requiring invoices, reports, certificates, or other document generation from templated HTML. The tool supports configuration of paper size, orientation, fonts, and various rendering options through a publishable config file or runtime method chaining. Since version 3.x, remote resource access is disabled by default for security, though it can be explicitly enabled when needed. The wrapper also supports PDF/A-3b compliance for archival purposes when using DOMPDF version 3.1.0 or later with the CPDF backend.

The project maintains active engagement with community contributions and receives regular updates to address security concerns and support new DOMPDF features. Development activity shows responsiveness to issues and pull requests, with the codebase evolving to align with Laravel framework changes and best practices. The maintainers prioritize security by defaulting to conservative settings while providing configuration flexibility for projects with specific requirements.