how to upload a csv file in laravel excel 3.1 and loop results as mapped array #3180
Answered
by
patrickbrouwers
ahmadhashlamoun
asked this question in
Q&A
-
I was using maatwebsite/excel v2.1, and now I'm upgrading to version 3.1 I used to loop the uploaded excel file like
But now I'm unable to do so with laravel 6 and excel 3.1, can you tell me how to do so? I know the load function is deprecated, and I need to replace it with import() but how to replace it and still access excel sheet rows with their keys and values? |
Beta Was this translation helpful? Give feedback.
Answered by
patrickbrouwers
May 25, 2021
Replies: 1 comment 4 replies
-
Please refer to this documentaiton: https://docs.laravel-excel.com/3.1/imports/collection.html |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
ahmadhashlamoun
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please refer to this documentaiton: https://docs.laravel-excel.com/3.1/imports/collection.html