Install via composer
composer require joaovdiasb/laravel-pdf-manager
You can optionally change the default values used by publishing the vendor
php artisan vendor:publish --provider="Joaovdiasb\LaravelPdfManager\LaravelPdfManagerServiceProvider"
(new PdfManager)->setHeader(view('pdf.header'))
->setFooter('DOCUMENT FOOTER')
->setBody(str_repeat('<u>[NAME]</u><br />', 100))
->setData(['[NAME]' => 'Jhon Doe'])
->setPageCounter()
->save('documents');
Output PDF LINK HERE
Please see CONTRIBUTING for details.
If you discover any security-related issues, please email j.v_dias@hotmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.