Postman collection is there you can directly import and boom..
I’m assuming that you have basic understanding of Laravel! :)
Let’s break the problem:
- first of all we need to create table according to csv columns.
- after that we can insert by reading csv file.
To Create table : /api/create-table*
Look At : https://github.com/lokeshrangani/importCsv/blob/master/app/Http/Controllers/TableController.php#L11
To Import run : /api/import*
It will upload csv file to public/uploads
Result :

Feel free to ask question.
- You can find request : https://github.com/lokeshrangani/importCsv/blob/master/Import%20csv.postman_collection.json