mardi 6 février 2018

Delete PDF made in laravel-dompdf [duplicate]

This question already has an answer here:

I have created a PDF in Laravel 5 by Laravel-dompdf.

     $pdf = PDF::loadHTML($html)
          ->setPaper('a4', 'landscape')
          ->setWarnings(false)
          ->save('documents/f_'.$pdf_name.'.pdf');
          //$pdf->download('deposit.pdf');

My question is, How can I delete it now? I didn´t find nothing in the documentation.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire