Download the PHP package dmgpage/simplexlsx without Composer
On this page you can find all versions of the php package dmgpage/simplexlsx. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package simplexlsx
SimpleXLSX class
Parse and retrieve data from Excel XLSx files. MS Excel 2007 workbooks PHP reader. No addiditional extensions need (internal unzip + standart SimpleXML parser).
This is branch of shuchkin/simplexlsx with some additional fixes.
Basic Usage
Installation
The recommended way to install this library is through Composer. New to Composer?
This will install the latest supported version:
or download PHP 5.5+ class here
Basic methods
Examples
XLSX to html table
or
or styled html table
XLSX read huge file, xlsx to csv
XLSX get sheet names and sheet indexes
Using rowsEx() to extract cell info
type | cell type |
name | cell name (A1, B11) |
value | cell value (1233, 1233.34, 2022-02-21 00:00:00, String) |
f | formula |
s | style index, use $xlsx->cellFormats[ $index ] to get style |
css | generated cell CSS |
r | row index |
hidden | hidden row or column |
width | width in custom units |
height | height in points (pt, 1/72 in) |
Select Sheet
Get sheet by index
XLSX::parse remote data
XLSX::parse memory data
Get Cell (slow)
DateTime helpers
Rows with header values as keys
Debug
Classic OOP style
More examples here
Error Codes
SimpleXLSX::ParseErrno(), $xlsx->errno()
code | message | comment |
---|---|---|
1 | File not found | Where file? UFO? |
2 | Unknown archive format | ZIP? |
3 | XML-entry parser error | bad XML |
4 | XML-entry not found | bad ZIP archive |
5 | Entry not found | File not found in ZIP archive |
6 | Worksheet not found | Not exists |
All versions of simplexlsx with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.5
ext-simplexml Version *
ext-zlib Version *
ext-libxml Version *
ext-mbstring Version *
ext-simplexml Version *
ext-zlib Version *
ext-libxml Version *
ext-mbstring Version *
The package dmgpage/simplexlsx contains the following files
Loading the files please wait ....