PHPackages                             jingwu/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. jingwu/excel

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

jingwu/excel
============

生成Excel

0.1.3(5y ago)08MITPHPPHP &gt;=5.4.0

Since Mar 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/jingwu15/excel_xml)[ Packagist](https://packagist.org/packages/jingwu/excel)[ Docs](https://github.com/jingwu15/excel_xml.git)[ RSS](/packages/jingwu-excel/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (5)Used By (0)

### 生成Excel

[](#生成excel)

#### 项目说明

[](#项目说明)

```
本库用于通过数组的形式生成 Excel， 并可将Excel发送到浏览器，写入本地文件等。
本库是基于 https://github.com/rogeriopradoj/php-excel.git 进行的改进。
修改的功能如下：
1. 代码中添加了中文注释
2. 文件名支持中文
3. 去掉了一些兼容性的代码

```

#### 使用示例

[](#使用示例)

---

添加依赖 `jingwu/excel` 到项目的 `composer.json` 文件:

```
    {
        "require": {
            "jingwu/excel": "0.1.2"
        }
    }
```

```
require "vendor/autoload.php";

use Jingwu\Excel\Excel_XML;

$data = array(
    0 => array('ID', '用户名', '邮箱'),
    array(1, '张三', '100000@qq.com'),
    array(2, '李四', '100001@qq.com')
);

$xls = new Excel_XML;
$xls->addWorksheet('Names', $data);
$xls->sendWorkbook('test.xml');
//$xls->writeWorkbook('test.xml');

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity48

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 ~260 days

Total

4

Last Release

1842d ago

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

xmlexcel

### Embed Badge

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

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

###  Alternatives

[phpoffice/phpspreadsheet

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

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

Supercharged Excel exports and imports in Laravel

12.7k144.3M712](/packages/maatwebsite-excel)[rap2hpoutre/fast-excel

Fast Excel import/export for Laravel

2.3k24.9M47](/packages/rap2hpoutre-fast-excel)[openspout/openspout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

1.1k57.6M131](/packages/openspout-openspout)[mk-j/php_xlsxwriter

PHP Library to write XLSX files

1.9k8.1M27](/packages/mk-j-php-xlsxwriter)[shuchkin/simplexlsx

Parse and retrieve data from Excel XLSx files. MS Excel 2007 workbooks PHP reader.

1.8k3.8M21](/packages/shuchkin-simplexlsx)

PHPackages © 2026

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