This is a live demo of the application importing CSV data to database in laravel which is described in this to import csv data to database in laravel. Complete project source code is also available on github here

Sample CSV data

The data collected form a mock csv data is displayed here, the CSV file can be seen here.

# Firstname Lastname Email Gender
151 Kathy Woods Female
152 Christopher Chapman Male
153 Mary Barnes Female
154 Steven Shaw Male
155 Amy Holmes Female
156 Frances Montgomery Female
157 Jimmy Hayes Male
158 Stephen Hill Male
159 Marilyn Jones Female
160 Nancy Hughes Female
161 Diana Stone Female
162 William Carpenter Male
163 Earl Pierce Male
164 Gary Cunningham Male
165 Julia Mitchell Female
166 Timothy Williamson Male
167 Russell Perry Male
168 Harry Duncan Male
169 Mary Fernandez Female
170 Jerry Hanson Male
171 Virginia Armstrong Female
172 Victor Morris Male
173 Rose Kim Female
174 Rebecca Myers Female
175 Martin Griffin Male