Category "mpdf"

How to fix 'Data has already been sent to output, unable to output PDF file' in MPDF

I tried to use MPDF library for generating PDF. try { $mpdf = new \Mpdf\Mpdf(); $mpdf->WriteHTML('Hello World'); // Other code

In mpdf to Output a pdf file to a Browser

I am trying to view the pdf file created using mpdf. On using the command as $pdf = $mpdf->Output('mep.pdf','I'); the pdf gets downloaded rather. Althoug

How to upload mpdf file after generating to s3 bucket in php

Can I upload mpdf file to s3 server after generating. $file_name = $pdf->Output(time().'_'.'E-Prescription.pdf','F');