PHPackages                             techone/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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. techone/php-excel

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

techone/php-excel
=================

A pure PHP library for reading and writing spreadsheet files for ThinkPHP projects.

v0.2(7y ago)4177PHPPHP ^5.6|^7.0

Since Nov 26Pushed 7y ago1 watchersCompare

[ Source](https://github.com/leeqvip/php-excel)[ Packagist](https://packagist.org/packages/techone/php-excel)[ RSS](/packages/techone-php-excel/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (4)Versions (3)Used By (0)

PHP-Excel
=========

[](#php-excel)

一个基于[PhpSpreadsheet](https://github.com/PHPOffice/PhpSpreadsheet)的拓展包，简化了Excel的导出和导入。

安装
--

[](#安装)

通过`composer`安装这个扩展：

```
composer require techone/php-excel

```

快速开始
----

[](#快速开始)

创建一个导出类：

```
use TechOne\Excel\Concerns\FromArray;

class UsersExport implements FromArray
{
    public function array()
    {
        return [
        	[1, 2, 3],
        	[1, 2, 3]
        ];
    }
}
```

可以这样调用：

```
Excel::download(new UsersExport(), 'data.xlsx');
```

协议
--

[](#协议)

PHP-Excel采用 [Apache 2.0 license](LICENSE) 开源协议发布。

联系
--

[](#联系)

有问题请提交 Issues：

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~9 days

Total

2

Last Release

2718d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f32cb7625515c0969fec15915be4a137f057c3484420bb7abf025c8e975dd3a5?d=identicon)[leeqvip](/maintainers/leeqvip)

---

Top Contributors

[![leeqvip](https://avatars.githubusercontent.com/u/35752209?v=4)](https://github.com/leeqvip "leeqvip (4 commits)")

---

Tags

csvexcel-exportexcel-importphpphpexcelphpofficethinkphpphpexcelxlsxlsxOpenXMLspreadsheetodsgnumericthinkphp

### Embed Badge

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

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

###  Alternatives

[phpoffice/phpspreadsheet

PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine

13.9k293.5M1.3k](/packages/phpoffice-phpspreadsheet)

PHPackages © 2026

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