Hi rorossf, That depend of what you want exactly. If you want update one time your database with a csv put your code in Command laravel and execute it in cli.
If you want regularly update your database the best way is:
Have a look here to read and remove line at same time http://stackoverflow.com/questions/2404707/is-this-the-most-efficent-way-to-get-and-remove-first-line-in-file
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community