Laravel Dompdf Live Preview

$dompdf->stream("dompdf_out.pdf",$dataarray);
// if there is no data to be passed then remove $dataarrray variable
exit(0);
Kriss Sachintha