mercredi 7 décembre 2016

Laravel 5.3 import CSV from file without uploading

I am using Maatwebsite/Excel to import CSV files. My code looks like this tutorial: http://ift.tt/2hgbiBm I marged both functions and my script gets file and returns file/

But despite many attempts I can't skip uploading file. It means, that I have CSV file in special folder, and I would like to get this file to process data, without uploading. It will automatically get file (maybe file_get_contents ?), and pass it to Illuminate\Support\Facades\Input.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire