PHPackages                             lyenrowe/bill-parser - 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. lyenrowe/bill-parser

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

lyenrowe/bill-parser
====================

alipay,wechat and unionpay bill file parser

1.0.1(7y ago)014MITPHP

Since Mar 13Pushed 6y ago1 watchersCompare

[ Source](https://github.com/lyenrowe/bill-parser)[ Packagist](https://packagist.org/packages/lyenrowe/bill-parser)[ RSS](/packages/lyenrowe-bill-parser/feed)WikiDiscussions master Synced 2mo ago

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

bill-parser
===========

[](#bill-parser)

parse alipay, wechat, unionpay bill file.

解析支付平台账单文件，包括：支付宝，微信，银联等支付的账单文件。 账单文件可通过接口下载，也可财务下载。 使用非常简单，传递要解析的文件路径， 程序根据文件头部内容分析文件类型，然后使用相应解析类解析账单文件

usage
-----

[](#usage)

```
//$path bill file full path;
$parser = FileParserFactory::create($path);
$rows = $parser->getData();
// save to db or something
/*foreach (array_chunk($rows, 1000) as $piece) {
    $model->insertIgnore($piece);
}*/

```

Installation
------------

[](#installation)

Via [Composer](http://getcomposer.org/). To install, simply add it to your `composer.json` file:

```
"lyenrowe/bill-parser": "^1.0",

```

Or run command:

```
composer require lyenrowe/bill-parser:1.*

```

Via [Composer](http://getcomposer.org/). To install last version. To your `composer.json` file add:

```
"lyenrowe/bill-parser": "dev-master"

```

Or run command:

```
composer require lyenrowe/bill-parser:dev-master

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity61

Established project with proven stability

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

Total

2

Last Release

2615d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/50f7bd7a793feaa7daf548a83f309180b38a26f943ded478eae4753f110d9653?d=identicon)[lyenrowe](/maintainers/lyenrowe)

---

Top Contributors

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

---

Tags

excelalipaywechatunionpay

### Embed Badge

![Health badge](/badges/lyenrowe-bill-parser/health.svg)

```
[![Health](https://phpackages.com/badges/lyenrowe-bill-parser/health.svg)](https://phpackages.com/packages/lyenrowe-bill-parser)
```

###  Alternatives

[phpoffice/phpspreadsheet

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

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

Supercharged Excel exports and imports in Laravel

12.7k144.3M710](/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.6M128](/packages/openspout-openspout)[dcat/easy-excel

使用简单实用的语义化接口快速读写Excel文件

155373.4k23](/packages/dcat-easy-excel)[custom-it/yii2-excel-report

An extension for generate excel file from GridView content

381.8k](/packages/custom-it-yii2-excel-report)

PHPackages © 2026

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