Looking to hire Laravel developers? Try LaraJobs

laravel-mpdf maintained by lighth7015

Description
mPDF wrapper for Laravel 5.*
Author
Last update
2018/05/31 20:42 (dev-master)
License
Links
Downloads
0
Tags

Comments
comments powered by Disqus

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