PHPackages                             aprchen/csv-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. aprchen/csv-helper

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

aprchen/csv-helper
==================

协程读取,处理速度快,可以识别编码

0221PHP

Since Mar 6Pushed 8y ago1 watchersCompare

[ Source](https://github.com/aprchen/csvHelper)[ Packagist](https://packagist.org/packages/aprchen/csv-helper)[ RSS](/packages/aprchen-csv-helper/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![Build Status](https://camo.githubusercontent.com/ba1a7235d166db3836d4146ebd6708d05e06d88db6367ea2b590f3635bc50f59/68747470733a2f2f7472617669732d63692e6f72672f6170726368656e2f63737648656c7065722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/aprchen/csvHelper)[![License](https://camo.githubusercontent.com/d52872bbce5c5a0e69693caafa5e40bfb7e6fee4288dedeb3a89c00fad3405da/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d417061636865253230322d3445423142412e7376673f7374796c653d666c61742d737175617265)](https://www.apache.org/licenses/LICENSE-2.0.html)[![Php Version](https://camo.githubusercontent.com/5127919eba34cfd4efa2e1d76a62f25de4061ec0a31a434fd9b23f6b16fc2c0e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d2533453d372e302d627269676874677265656e2e7376673f6d61784167653d32353932303030)](https://github.com/aprchen/csvHelper)

csvHelper
=========

[](#csvhelper)

协程版文件处理,csv

安装

```
composer require aprchen/csv-helper dev-master

```

使用方法:

通过路径读取

```

/** @var Aprchen\CsvHelper\Mapping\FileInterface $file */
$file = Aprchen\CsvHelper\FileFactory::createFileWithPath($path);
$reader = new Aprchen\CsvHelper\Reader();
$reader->setFile($file);
$content = $reader->getContent();
$fileEncoding = (new Aprchen\CsvHelper\CharsetHelper())->getEncoding($file);

foreach($content as $item){
  //todo
}

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ac83985fcc3dc494cee667716393ba3c63c61f75d5b34f16392e4afaab75107?d=identicon)[April2](/maintainers/April2)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/aprchen-csv-helper/health.svg)

```
[![Health](https://phpackages.com/badges/aprchen-csv-helper/health.svg)](https://phpackages.com/packages/aprchen-csv-helper)
```

###  Alternatives

[christian-riesen/base32

Base32 encoder/decoder according to RFC 4648

13331.8M61](/packages/christian-riesen-base32)

PHPackages © 2026

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