PHPackages                             hikaru/php-excel - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. hikaru/php-excel

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

hikaru/php-excel
================

fork from asan/phpexcel and fix some excel2007 bug

v2.0.1(7y ago)06MITPHPPHP &gt;=7.0

Since Jun 29Pushed 6y agoCompare

[ Source](https://github.com/hikaruocean/PHPExcel)[ Packagist](https://packagist.org/packages/hikaru/php-excel)[ Docs](https://github.com/Janson-Leung/PHPExcel)[ RSS](/packages/hikaru-php-excel/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependenciesVersions (4)Used By (0)

phpexcel
========

[](#phpexcel)

A lightweight PHP library for reading spreadsheet files

- Based on Generator、SeekableIterator and Countable
- Support for reading by line, read data only

### Requirements

[](#requirements)

- PHP 7.0 or higher

### Installation

[](#installation)

```
composer require asan/phpexcel

```

Usage
-----

[](#usage)

### csv

[](#csv)

```
// Simple setting
$reader = Asan\PHPExcel\Excel::load('files/02.csv', 'GBK');

// Flexible setting
$reader = Asan\PHPExcel\Excel::load('files/01.csv', function(Asan\PHPExcel\Reader\Csv $reader) {
    // Set row limit
    $reader->setRowLimit(10);

    // Set column limit
    $reader->setColumnLimit(10);

    // Ignore emoty row
    $reader->ignoreEmptyRow(true);

    // Set encoding
    //$reader->setInputEncoding('GBK');

    // Set delimiter
    $reader->setDelimiter("\t");
}, 'GBK');

// skip to row 50
$reader->seek(50);

// Get the current row data
$current = $reader->current();

// Get row count
$count = $reader->count();

```

### xls

[](#xls)

```
$reader = Asan\PHPExcel\Excel::load('files/01.xls', function(Asan\PHPExcel\Reader\Xls $reader) {
    // Set row limit
    $reader->setRowLimit(10);

    // Set column limit
    $reader->setColumnLimit(10);

    // Ignore emoty row
    $reader->ignoreEmptyRow(true);

    // Select sheet index
    $reader->setSheetIndex(1);
});

// skip to row 50
$reader->seek(50);

// Get the current row data
$current = $reader->current();

// Get row count
$count = $reader->count();

// Get all sheets info
$sheets = $reader->sheets();

```

### xlsx

[](#xlsx)

```
$reader = Asan\PHPExcel\Excel::load('files/01.xlsx', function(Asan\PHPExcel\Reader\Xlsx $reader) {
    // Set row limit
    $reader->setRowLimit(10);

    // Set column limit
    $reader->setColumnLimit(10);

    // Ignore emoty row
    $reader->ignoreEmptyRow(true);

    // Select sheet index
    $reader->setSheetIndex(0);
});

// skip to row 50
$reader->seek(50);

// Get the current row data
$current = $reader->current();

// Get row count
$count = $reader->count();

// Get all sheets info
$sheets = $reader->sheets();

```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 94.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~12 days

Total

3

Last Release

2854d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/690ad90dde0bf0393ad1baaae6e8042e587b0ca40a4a52a98da9718a90f20af8?d=identicon)[kensou0012](/maintainers/kensou0012)

---

Top Contributors

[![Janson-Leung](https://avatars.githubusercontent.com/u/4264643?v=4)](https://github.com/Janson-Leung "Janson-Leung (16 commits)")[![hikaruocean](https://avatars.githubusercontent.com/u/8382007?v=4)](https://github.com/hikaruocean "hikaruocean (1 commits)")

### Embed Badge

![Health badge](/badges/hikaru-php-excel/health.svg)

```
[![Health](https://phpackages.com/badges/hikaru-php-excel/health.svg)](https://phpackages.com/packages/hikaru-php-excel)
```

###  Alternatives

[knplabs/knp-menu

An object oriented menu library

1.4k55.8M287](/packages/knplabs-knp-menu)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
