Laravel Excel ExcelFile injections -


i've read tutorial maatwebsite. according tutorial, using excelfile class.

here link

but confusing part is, never wrote file name nor location of file. please guide me.

thanks

edit: meant code:

class userlistimport extends \maatwebsite\excel\files\excelfile {      public function getfile()     {         return storage_path('exports') . '/file.csv';     }      public function getfilters()     {         return [             'chunk'         ];     }  } 

where put it?


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -