DOMPDF Wrapper for Laravel 5

How to install dompdf in laravel???
Deepak Sharma
Asked 12-12-2024
276

Answer (1)
DOMPDF Wrapper for Laravel 5  Require this package in your composer.json and update composer. This will download the package and the dompdf + fontlib libraries also. Installation :  composer require barryvdh/laravel-dompdf Run above line in github / composer use the facade: $pdf = PDF::loadView('pdf.invoice', $data); return $pdf->download('invoice.pdf');
Harsh Aggrawal
Asked 03-08-2019
45 Likes
Comments
Write comment

Submit your answer