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.
- 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
Please use and re-use however you want.
- Read our Daily Blog with Laravel Tutorials
- FREE E-book: 50 Laravel Quick Tips (and counting)
- Check out our adminpanel generator QuickAdminPanel: Laravel version and Vue.js version
- Subscribe to our YouTube channel Laravel Business
- Enroll in our Laravel Online Courses