lundi 26 octobre 2015

Where to put my .txt files for PHP to read them in Laravel

I am creating a small application that is going to read .txt files and put each row of text in the database. I am not sure where to put those .txt files so that it's in accordance with Laravel standards. Should I put those files in the /public/ directory and access them from a controller via public_path() helper function?

The documentation seems to omit that information. I'd appreciate any help.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire