dimanche 26 juin 2016

How to put storage file download excel for laravel 5.1

I want to put location storage in my apps, when download file in the folder privacy me. Any idea?

public function getExport(){
                $user = Members::all();
                Excel::create('Export Data',function($excel) use($user){
                        $excel->sheet('Sheet 1',function($sheet) use($user){
                                $sheet->fromArray($user);
                        });
                })->export('xlsx');
        }


from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/290TSUl
via IFTTT

Aucun commentaire:

Enregistrer un commentaire