[QUESTION]
How can make headings sluggedwithcount i saw that version 2 has that kind of feature? should i just install version 2?
import file with headers should have 2 or more headers with the same name
You can implement it in any way you want with a custom formatter: https://laravel-excel.maatwebsite.nl/3.1/imports/heading-row.html#custom-formatter
how do i manage headers with the same name?
In your situation it's perhaps better to not use the heading row as array keys, you can also just use the numeric index instead.
then i'll change my question to how do i ignore the header row in importing the file
By not using the WithHeadingRow concern, but using the WithStartRow concern, so you can skip the first row. (https://laravel-excel.maatwebsite.nl/3.1/imports/concerns.html#import-concerns)
ohh nice thank you
i want to skip a key or column in header row ? i can it possible
i want to skip a key or column in header row ? i can it possible
Just define the names of the columns that you'd like to include? See documentation about heading row. Using keys is covered in the Importing basics.
Most helpful comment
By not using the
WithHeadingRowconcern, but using theWithStartRowconcern, so you can skip the first row. (https://laravel-excel.maatwebsite.nl/3.1/imports/concerns.html#import-concerns)