dev-master
9999999-dev https://github.com/newlubin/xlsxreaderreads xlsx file contents: from https://github.com/gneustaetter/XLSXReader.git
The Requires
- php >=5.3.0
by gneustaetter
php excel xls spreadsheet xlsx openxml
Wallogit.com
2017 © Pedro Peláez
reads xlsx file contents: from https://github.com/gneustaetter/XLSXReader.git
First: use command --- composer require "newlubin/xlsxreader":"dev-master" Then: $xlsx = new XLSXReader('sample.xlsx');, (*1)
Enjoy it!, (*2)
XLSXReader is a small PHP class for reading data from Microsoft Excel XLSX (OpenXML) files. There are some much more comprehensive Excel libraries for PHP, but I created this because I was looking for a library that made it as easy as possible to:, (*3)
XLSXReader requires the ZIP extension., (*4)
Thanks to Sergey Schuchkin for his SimpleXLSX library that served as the inspiration for XLSXReader. While most of it has been rewritten, some of his code still remains., (*5)
Open an Excel file:, (*6)
require('XLSXReader.php');
$xlsx = new XLSXReader('sample.xlsx');
Get a list of the sheets:, (*7)
$sheets = $xlsx->getSheetNames();
Get the data from a sheet:, (*8)
$data = $xlsx->getSheetData('Sales');
There are many things XLSXReader does not aim to do:, (*9)
If you need those capabilities, I would take a look at PHP-Excel., (*10)
reads xlsx file contents: from https://github.com/gneustaetter/XLSXReader.git
php excel xls spreadsheet xlsx openxml