alhoqbani/laravel-pdf is a Laravel package for laravel wrapper for mpdf 7.0.
It currently has 1 GitHub stars and 16 downloads on Packagist (latest version 0.0.1).
Install it with composer require alhoqbani/laravel-pdf.
Discover more Laravel packages by alhoqbani
or browse all Laravel packages to compare alternatives.
Last updated
Laravel wrapper for mPDF 7.0
UNDER DEVELOPMENT. Do NOT use for production
You can install the package via composer:
composer require 'alhoqbani/laravel-pdf:@dev'
Start by publishing the config file:
php artisan vendor:publish --provider "Alhoqbani\PDF\PDFServiceProvider"
Edit the config file. You can add any extra configuration to be passed to the Mpdf constructor.
To us the Mpdf library directly, you can get a pre-configured instance of Mpdf
<?php
$mpdf = \PDF::getMpdf();
$mpdf->writeHTML('<h1>Hello World</h1>');
return $mpdf->output();
// TODO
composer test
Please see CHANGELOG for more information what has changed recently.
Please see CONTRIBUTING for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Built using Spatie.be skeleton
The MIT License (MIT). Please see License File for more information.