PHPackages                             zpfei/office - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. zpfei/office

ActiveLibrary[File &amp; Storage](/categories/file-storage)

zpfei/office
============

this is office package excel package

06PHP

Since Sep 28Pushed 8y ago1 watchersCompare

[ Source](https://github.com/zhangpanfei/office)[ Packagist](https://packagist.org/packages/zpfei/office)[ RSS](/packages/zpfei-office/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

this is a offoce package
========================

[](#this-is-a-offoce-package)

Excel export
------------

[](#excel-export)

```
include '../vendor/autoload.php';

use zpfei\office\Excel;

$header = ['用户名','密码','年龄'];
$data = [
	['李雷',123456,18],
	['韩梅梅',789456,16],
	['小白',898566,19],
];
$excel = new Excel();
$excel->title('Example')->header($header)->data($data)->output('examlpe.xls');

```

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16538399?v=4)[zhangpanfei](/maintainers/zhangpanfei)[@zhangpanfei](https://github.com/zhangpanfei)

### Embed Badge

![Health badge](/badges/zpfei-office/health.svg)

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

PHPackages © 2026

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