diff --git a/README.md b/README.md index 858a3bc3..0b37e2cb 100644 --- a/README.md +++ b/README.md @@ -329,6 +329,19 @@ $file = new \SplFileObject('path/to/ecxel_file.xls'); $reader = new ExcelReader($file); ``` +To set the row number that headers will be read from, pass a number as the second +argument. + +```php +$reader = new ExcelReader($file, 2); +``` + +To read the specific sheet: + +```php +$reader = new ExcelReader($file, null, 3); +``` + ###OneToManyReader Allows for merging of two data sources (using existing readers), for example you have one CSV with orders and another with order items.