lundi 1 avril 2019

How to store Excel file after generation on Laravel storage?

I use this code to generate binary file. How to store it in local storage?

$path = 'events/';

$filename = 'visitors_list_' . date('d-m-y') . '.xlsx';

return Excel::import(new VisitorsExport($request), $path.$filename);

I use library



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2ODUl1D
via IFTTT

Aucun commentaire:

Enregistrer un commentaire