Cyber-Duck / laravel-excel

This package provides a way to export an Eloquent collection as an excel file and to import a Excel file as an Eloquent collection.
https://www.cyber-duck.co.uk
MIT License
74 stars 27 forks source link

how we can skip the header when import from exel #24

Open skanel opened 3 years ago

skanel commented 3 years ago

$collection = Importer::make('Excel')->load($filepath)->setParser(new ProductParser( $staff, array('value1') ))->getCollection();

how to skip the header row.?