I am using the DOMPDF Wrapper for Laravel 5 to create a PDF from a view.
<?php
$customer = Customer::findOrFail(Auth::user()->id);
return PDF::loadView('backend.profile.includes.pdf.pdf',
compact('customer'))->save(public_path('pdf/resume/test.pdf'));
When I access the related page, the file isn't saved in the public folder. Nothing happens.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire