PHP Package: barryvdh/laravel-dompdf

Laravel-DomPDF is a powerful PHP library for generating PDFs seamlessly with Laravel framework, providing enhanced features and customization options.

Current Version: 3.1.1
Last Updated: 2025-02-21
PHP Requirement: ^8.1
Dependencies:
php-tcpdf/tcpdf
setasign/fpdi
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Laravel-DomPDF is a popular library that integrates seamlessly with Laravel to create dynamic PDFs with ease. It offers a wide range of functionalities, including custom styling, multiple page support, and more. With Laravel-DomPDF, you can generate professional PDF documents directly from your Laravel application.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 3.1.1

Download Download v3.1.1

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/barryvdh/laravel-dompdf/3.1.1/loader.php';
require_once 'libs/php-tcpdf/tcpdf/{lib_version}/loader.php';
require_once 'libs/setasign/fpdi/2.6.3/loader.php';

use Barryvdh\DomPDF\Facade;

$obj = new Facade();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.