Get the file size after generating the PDF in dompdf

Viewed 24

I need to know the size of pdf after generating that in the laravel dompdf! I can not get the content of file like below, but I don't know how it is working for file size.

$pdf = PDF::loadView('pdf.default', compact('data'));
$content = $pdf->download()->getOriginalContent();
0 Answers
Related