Details abstractmedia

laravel-html2pdf

Laravel-HTML2PDF

Easy generate PDF Files with HTML support.

Installing the Bundle

Install the Bundle using Artisan:

$ php artisan bundle:install HTML2PDF

Alternative you can download it directly from GitHub:

http://github.com/abstractmedia/laravel-html2pdf

Just register the Bundle on applications/bundles.php
'html2pdf' => array(
    'auto' => true,
)

Explanation for lack of examples

Unfortunately, it allowed the Markdown editor not to use html tags. For this reason, I present no sample code. But you can see all the test samples from the folder and.

It should be said that HTML2PDF perfectly works with View::make().

Creator Website

http://html2pdf.fr/

Tipps and Tricks

If you have a PDF directly in the browser want to spend

return Response::make($html2pdf->Output(), 200, array('Content-type' => 'application/pdf'));

Installation

You can install this bundle by running the following CLI command:

php artisan bundle:install HTML2PDF

Alternatively you can download it directly from GitHub:
http://github.com/abstractmedia/laravel-html2pdf

Stats

  • Watchers:
  • Forks:
  • Ratings: 2 likes
  • Installs: 1316