Sindbad~EG File Manager

Current Path : /home/numerotech/public_html/mc.purplemail.in/vendor/maatwebsite/excel/docs/import/
Upload File :
Current File : //home/numerotech/public_html/mc.purplemail.in/vendor/maatwebsite/excel/docs/import/config.md

# Import by Config

When using advanced Excel files (e.g. without any heading columns), it can be complicated to import these.
`->byConfig()` will help you handle this problem.

Inside `excel::import.sheets` config you can find an example.

    Excel::load('file.xls')->byConfig('excel::import.sheets', function($sheet) {

        // The firstname getter will correspond with a cell coordinate set inside the config
        $firstname = $sheet->firstname;

    });

> **Note:** if you are using multiple sheets. `->byConfig` will loop through all sheets. If these getters are only exist on one sheet, you can always use `->selectSheets()`.

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists