laravel DomPDF live preview
$dompdf->stream("dompdf_out.pdf",$dataarray); // if there is no data to be passed then remove $dataarrray variable exit(0);
Source: stackoverflow.com
$dompdf->stream("dompdf_out.pdf",$dataarray); // if there is no data to be passed then remove $dataarrray variable exit(0);