Skip to content
MNB PHPExcelDeveloper Guide
AI

Versions

Version 2.0.5 Documentation Notes

Use structured row-count fields to distinguish logical positions, source records, explicit and implicit empty rows, headers, skipped rows, and returned rows.

Level
All levels
Reading time
6 min
Package
mnb/mnb-phpexcel-core
Updated
Core 2.0.5+Structured counts
Available sincev2.0.5Last API changev2.0.5Version guide
Release context

v2.0.5 in the MNB PHPExcel v2 release line.

Structured row-count summaries make returned, empty, skipped, and logical row states easier to interpret.

Status
Maintenance
Package
mnb/mnb-phpexcel-core
Introduced
v2.0.5
Structured counts

Read row-count results as named fields instead of one ambiguous total.

v2.0.5 makes the structured summary more explicit for logical positions, empty rows, skipped empty rows, and rows returned after the active options are applied.

Structured summary
PHP
$data = $session->toStructuredSheetArray([
    'header_row' => 1,
    'skip_empty_rows' => true,
]);

$counts = $data['summary']['row_counts'];

echo $counts['total'];
echo $counts['empty'];
echo $counts['skipped_empty'];
echo $counts['returned'];
total
Total logical row positions represented by the summary.
empty
Rows identified as empty by the structured read.
skipped_empty
Empty rows excluded when empty-row skipping is enabled.
returned
Rows actually returned after the configured read rules.
Use the full guide

Interpret counts together with header and empty-row options.

The reading guide covers the complete row-count model and the options that change the summary.

Sheet selection and row countsUse the detailed guide when the distinction between source rows, headers, skipped rows, and returned rows matters.
Open row-count guide →