Run this at the command line:
https://github.com/aysetas/Laravel-Csv-File-Import.git
- For laravel packages and dependencies.
Composer install
-
Copy
.env.example
to.env
and change app url, app api url and database info. -
php artisan key:generate
for generate app key. -
For generate database.
php artisan migrate
-
To run in browser
php artisan serve
-
If the route
https://127.0.0.1:8000/file-import
- PHP Laravel Framework
- Ajax
- Bootstrap
- Toaster
My sample excel file is customer.csv file in public folder
Public/customer.csv
The Laravel framework is open-sourced software licensed under the MIT license.
Import files with csv extension was done using Laravel Framework.