webnuvola/excel-reader

Read spreadsheet files (CSV, XLSX and ODS) using box/spout and return data in array format

v1.3.0 2021-10-22 10:36 UTC

This package is auto-updated.

Last update: 2022-07-22 12:12:40 UTC


README

Latest Version on Packagist GitHub Tests Action Status Total Downloads

Read spreadsheet files (CSV, XLSX and ODS) using box/spout and return data in array format.

Installation

You can install the package via composer:

composer require webnuvola/excel-reader

Usage

$excel = \Webnuvola\ExcelReader\ExcelReader::createFromPath(__DIR__.'/excel-file.xlsx')
    ->read();

$excel = \Webnuvola\ExcelReader\ExcelReader::createFromString($content, 'xlsx')
    ->read();

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

License

The MIT License (MIT). Please see License File for more information.