https://github.com/avinashn/importcsvdata-laravel
A laravel example to import data from a csv file and store it in database.
https://github.com/avinashn/importcsvdata-laravel
Last synced: about 1 year ago
JSON representation
A laravel example to import data from a csv file and store it in database.
- Host: GitHub
- URL: https://github.com/avinashn/importcsvdata-laravel
- Owner: avinashn
- Created: 2016-09-08T07:00:08.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-12-26T07:01:49.000Z (over 8 years ago)
- Last Synced: 2025-04-03T18:40:55.590Z (about 1 year ago)
- Language: PHP
- Size: 55.7 KB
- Stars: 9
- Watchers: 1
- Forks: 23
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## Prerequisites
- After cloning this repository, go to the root folder, run the following command/s,
composer install
composer update - Rename .env.example to .env and provide your database details there.
- Run
php artisan migrateto create database table. - Run
php artisan key:generateto set application key.
## Working Demo
You can see the demo of the project here
## Reference Post
http://justlaravel.com/import-csv-data-store-database/