PHPackages                             aspera/xlsx-reader - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [PDF &amp; Document Generation](/categories/documents)
4. /
5. aspera/xlsx-reader

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

aspera/xlsx-reader
==================

Spreadsheet reader library for XLSX files

v2.0.2(3mo ago)52742.2k—0.4%10[2 issues](https://github.com/rfischer42/xlsx-reader/issues)5MITPHPPHP &gt;= 8.1CI passing

Since May 17Pushed 3mo ago6 watchersCompare

[ Source](https://github.com/rfischer42/xlsx-reader)[ Packagist](https://packagist.org/packages/aspera/xlsx-reader)[ Docs](https://github.com/rfischer42/xlsx-reader/)[ RSS](/packages/aspera-xlsx-reader/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (25)Used By (5)

xlsx-reader
===========

[](#xlsx-reader)

**xlsx-reader** is an extension of the XLSX-targeted spreadsheet reader that is part of [spreadsheet-reader](https://github.com/nuovo/spreadsheet-reader).

It delivers functionality to efficiently read in data contained within the given XLSX file.

The focus of this library is on delivering data contained in XLSX spreadsheet cells, not the document's styling. As such, the library offers no support for XLSX capabilities that aren't strictly necessary to achieve this goal. Only basic cell value formatting and shared string functionalities are supported.

### Requirements

[](#requirements)

- PHP 8.1.0 or newer, with at least the following optional features enabled:
    - Zip (see )
    - XMLReader (see )

### Installation using Composer

[](#installation-using-composer)

The package is available on [Packagist](https://packagist.org/packages/aspera/xlsx-reader). You can install it using [Composer](https://getcomposer.org/).

```
composer require aspera/xlsx-reader

```

### Usage

[](#usage)

All data is read from the file sequentially, with each row being returned as an array of columns.

```
