setDelimiter(';'); //get the header $headers = $inputCsv->fetchOne(0); //get at maximum 25 rows starting from the 801st row $res = $inputCsv->setOffset(800)->setLimit(25)->fetch(); ?> League\Csv\Reader simple usage

League\Csv\Reader simple usage

', PHP_EOL; ?> ', PHP_EOL; ?>
Part of the CSV from the 801th row with at most 25 rows
'.PHP_EOL.'', $headers), '
'.PHP_EOL.'', $row), '