Read spreadsheet files (CSV, XLSX and ODS) using openspout/openspout
and return data in array format.
You can install the package via composer:
composer require webnuvola/excel-reader
$excel = \Webnuvola\ExcelReader\ExcelReader::createFromPath(__DIR__.'/excel-file.xlsx')
->read();
$excel = \Webnuvola\ExcelReader\ExcelReader::createFromString($content, 'xlsx')
->read();
composer test
This version drops support for php 7.4 and adds support for php 8.2.
The openspout/openspout
library is updated to ^4.9
.
Library box/spout
is replaced with openspout/openspout
, there are no breaking changes.
If you are using box/spout
outside this library, please refer to openspout/openspout
upgrade guide.
Please see CHANGELOG for more information on what has changed recently.
The MIT License (MIT). Please see License File for more information.