PDF Generation using dompdf. Urgent Help Required
Hi All, I have got stuck in generating pdf using dompdf. this is my controller
$data= view('templateoutput')->with('template_id', $Template_id)->with('body_id',$Body_id)->render(); $pdf= \PDF::loadHTML($data); return $pdf->stream();
its taking lot of time but nothing is generated.
another method i used is loading view $pdf->loadView('templateoutput',compact('Template_id','Body_id')); return $pdf->download('templateoutput.pdf'); this also do same just keeps on running and gets stuck there only nothing is generated.
please help me where I am going wrong in generating the pdf or is it that my view data is large.
Help me out
thanks.
Please or to participate in this conversation.