compassites / laravel-mpdf
mPDF wrapper for Laravel 5.*
Installs: 19
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
pkg:composer/compassites/laravel-mpdf
Requires
- php: ^5.6 || ~7.0.0 || ~7.1.0
- mpdf/mpdf: 7.0.0-beta2
This package is not auto-updated.
Last update: 2025-10-26 06:46:52 UTC
README
mPDF Wrapper for Laravel 5
Installation
Begin by installing this package through Composer. Edit your project's composer.json file to require compassites/laravel-mpdf.
{
"require": {
"compassites/laravel-mpdf" : "master"
}
}
Next, update Composer from the Terminal:
$ composer update
Once this operation completes, the final step is to add the service provider. Open app/config/app.php, and add a new item to the providers array.
'Compassites\Mpdf\ServiceProvider',
You can also register facade.
'PDF' => 'Compassites\Mpdf\Facades\Pdf',
License
This mPDF Wrapper for Laravel5 is open-sourced software licensed under the MIT license