Skip to content

Small demo project to import CSV in Laravel 5.5 with matching the columns.

Notifications You must be signed in to change notification settings

dehboris/Laravel-Import-CSV-Demo

 
 

Repository files navigation

Laravel 5.5 Import CSV Demo

Simple project showing how to import data from CSV file, also matching CSV columns with database columns.

Also showing how to deal with CSV files with/without header rows, using plain PHP functions and maatwebsite/excel package.

Laravel Import CSV


How to use

  • Clone the repository with git clone
  • Copy .env.example file to .env and edit database credentials there
  • Run composer install
  • Run php artisan key:generate
  • Run php artisan migrate
  • That's it - load the homepage

License

Please use and re-use however you want.


More from our LaravelDaily Team

About

Small demo project to import CSV in Laravel 5.5 with matching the columns.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 81.8%
  • HTML 17.7%
  • Vue 0.5%