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



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire