PHPackages                             awsome-kill/php-spreadsheet-helper - 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. awsome-kill/php-spreadsheet-helper

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

awsome-kill/php-spreadsheet-helper
==================================

created for easier and more efficiently import and export

v1.1(6y ago)445MITPHPPHP ^5.6|^7.0

Since May 31Pushed 6y agoCompare

[ Source](https://github.com/awsomeKill/phpSpreadsheet-helper)[ Packagist](https://packagist.org/packages/awsome-kill/php-spreadsheet-helper)[ RSS](/packages/awsome-kill-php-spreadsheet-helper/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

phpSpreadsheet-helper
=====================

[](#phpspreadsheet-helper)

Created for easier import and export

Run Composer in your project:

```
  composer require awsome-kill/php-spreadsheet-helper

```

### Export Key-value pair array

[](#export-key-value-pair-array)

```
return SHelper::make('write')
    ->addTitle('XX商品列表')
    ->addHeader([
        ['name',20,'商品名称'],
        ['num',15,'数量'],
        ['category',20,'分类'],
        ['price',15,'售价']
    ])
    ->setData($data)
    ->output('商品表','xlsx');
```

[![](https://github.com/awsomeKill/phpSpreadsheet-helper/raw/master/img/export.png)](https://github.com/awsomeKill/phpSpreadsheet-helper/blob/master/img/export.png)

### Import into a specified key-value pair array

[](#import-into-a-specified-key-value-pair-array)

```
$list =  SHelper::make('read')
    ->addFile($file_path)
    ->setHeader([
        ['product_name','商品名称'],
        ['unit_name','单位'],
        ['category_name','商品分类'],
        ['price','价格'],
        ['cost_price','成本价'],
        ['bar_code','商品条码'],
        ['stock','库存']
    ])
    ->output();
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

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

Total

2

Last Release

2400d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/16332b65d6dee5de1bf83274df75be4eddf0a60beff1b800693265b70e61ff89?d=identicon)[kikygarden](/maintainers/kikygarden)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/awsome-kill-php-spreadsheet-helper/health.svg)

```
[![Health](https://phpackages.com/badges/awsome-kill-php-spreadsheet-helper/health.svg)](https://phpackages.com/packages/awsome-kill-php-spreadsheet-helper)
```

PHPackages © 2026

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