Support the ongoing development of Laravel.io →
Input Views Packages
Last updated 2 years ago.
0

Try looking at the wkhtmltopdf binary! Really useful. I use it in production.

https://github.com/wkhtmltopdf/wkhtmltopdf

Last updated 2 years ago.
0

ok...ty

Last updated 2 years ago.
0

PhantomJS? This example worked like a charm for me.

Aleš

Last updated 2 years ago.
0

should i create a new class for pdf or just call methods in controller?

Last updated 2 years ago.
0

I created https://github.com/barryvdh/laravel-dompdf and https://github.com/barryvdh/laravel-snappy First one uses DomPDF, second uses wkhtmltopdf, both with a similar interface and facades, so you can do something like this in your controller:

$pdf = PDF::loadView('pdf.invoice', $data);
return $pdf->download('invoice.pdf');
Last updated 2 years ago.
0

Html file to pdf converter is an easy tool that aids easy and bulk html to pdf conversion. There are several tools available and make conversion an easy procedure. I have tried Expert PDF and converted my files very easily and free of cost.. You can check details here http://www.html-to-pdf.net/

Last updated 9 years ago.
0

Hello barryvdh I have used dompdf Laravel facade with succes to render documents of 3-4 pages with tables in it, it takes around 2 to 4 minutes to render them. Only one question, is laravel-snappy faster than DomPDF? Thank you for attention and for such a great package!

0

Checkout this one: https://github.com/mpdf/mpdf has rtl language support too

Last updated 7 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

rasparac rasparac Joined 18 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.