I'm currently working on a Laravel project using the Laravel-Excel package.
It is working fine, except for a use case i'm trying to solve I'm trying to solve for a few hours now.
Each CSV files I'm reading begins with the Heading Rows, and that's particularly practical, but some of my CSV Files begin with annotations like #CSV DD V2.4.3 at row 1 followed by the Heading Rows at row 2.
So, I need to find out how to determine the real line where the heading rows are located to avoid that unwanted line. I especially need to make it work in the headingRow() method implemented by the WithHeadingRow interface. is there a way t grab lines from the csv file to determine the correct heading row line ?
Hope you'll find out , thanks in advance