Package

Barryvdh Laravel Dompdf

A DOMPDF Wrapper for Laravel

Package

barryvdh/laravel-dompdf

View on GitHub →

Overview

What Barryvdh Laravel Dompdf does

The barryvdh/laravel-dompdf package integrates the Dompdf HTML to PDF Converter into Laravel, simplifying the generation of PDF files from HTML content.

This package offers a seamless wrapper around the Dompdf library, making it easy for Laravel developers to convert HTML views or strings into PDF documents. It is particularly useful for applications that require dynamic PDF generation like invoices or reports.

Developers can initiate PDF creation using various methods, such as loading an HTML view or directly passing HTML content. The package allows streaming the PDF to a browser, downloading it, or saving it to a file, providing flexibility in how the output is used.

Customization options are robust, with configurable settings for paper size, orientation, and additional options like DPI and default font. These can be adjusted globally or per document, catering to different PDF requirements. A key feature is its support for PDF/A-3b standard, which is vital for archival purposes and compliance with electronic invoicing standards like Factur-X.

The package fits into Laravel's ecosystem by offering a straightforward, facade-based API and configuration through Laravel's config system, encouraging maintainable and scalable code. Its utility extends to any Laravel developer needing efficient PDF document creation from their web application content.

This overview was generated by AI from the package README and may not reflect the latest release.

Read the full README →

Barryvdh Laravel Dompdf Related Articles

Laravel Cashier, PHP 7.1, and domPDF Issue image

Laravel Cashier, PHP 7.1, and domPDF Issue

Read article
Driver-Based Architecture in Spatie's Laravel PDF v2 image

Driver-Based Architecture in Spatie's Laravel PDF v2

Read article
Email Sending and Testing for Laravel in One Account image

Email Sending and Testing for Laravel in One Account

Read article
HTTP Cache Packages for Laravel image

HTTP Cache Packages for Laravel

Read article
Laravel Debugbar Gets a Big UI Update image

Laravel Debugbar Gets a Big UI Update

Read article
Snappy Image Wrapper for Laravel image

Snappy Image Wrapper for Laravel

Read article

Let your users buy domains without leaving your app

If your Laravel app gives users a site, a storefront, or a workspace, they’ll eventually want their own domain. The name.com API lets them search, register, and connect one without leaving your product. It’s a clean REST API, so Laravel’s HTTP client is all you need.

Let your users buy domains without leaving your app

Acquaint Softtech

Acquaint Softtech offers AI-ready Laravel developers who onboard in 48 hours at $3000/Month with no lengthy sales process and a 100 percent money-back guarantee.

Acquaint Softtech

PhpStorm

The go-to PHP IDE with extensive out-of-the-box support for Laravel and its ecosystem.

PhpStorm

Shift

Running an old Laravel version? Instant, automated Laravel upgrades and code modernization to keep your applications fresh.

Shift

Kirschbaum

Providing innovation and stability to ensure your web application succeeds.

Kirschbaum

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing