In a case where the structure of the CSV data requires some processing at the time of import you may want to consider processing it in the background. In this tutorial I will walk you through setting up an artisan command to process your import, and setting up a cron job to run the command in the background on your server.
Validating large CSV files could be problematic due to a number of constraints. In this post we will look at a technique I used to perform some checks on the user supplied file before attempting to process it.
Ever have problems importing large CSV files into your application? Here is a guide to do it with just one query!