PHPackages                             ritaswc/csv-stream-exporter - 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. ritaswc/csv-stream-exporter

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

ritaswc/csv-stream-exporter
===========================

1.0.0(3y ago)07MITPHPPHP &gt;=5.1

Since Nov 8Pushed 3y ago1 watchersCompare

[ Source](https://github.com/ritaswc/php-csv-stream-exporter)[ Packagist](https://packagist.org/packages/ritaswc/csv-stream-exporter)[ RSS](/packages/ritaswc-csv-stream-exporter/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

Csv流式导出工具
=========

[](#csv流式导出工具)

- Save Memory 节约内存
- Without File Size Limit 不限制文件长度

只能在`php-fpm模式`下使用

```
composer require ritaswc/csv-stream-exporter
```

```
$exporter = new \Ritaswc\CsvStream\Exporter('自己定义导出文件名' . date('YmdHis') . '.csv');
$exporter->writeHeaders([
    '姓名',
    '电话'
]);
foreach ($lines as $line) {
    $exporter->writeLine([$line['name'], $line['phone']]);
}
$exporter = null;
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1278d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/ritaswc-csv-stream-exporter/health.svg)

```
[![Health](https://phpackages.com/badges/ritaswc-csv-stream-exporter/health.svg)](https://phpackages.com/packages/ritaswc-csv-stream-exporter)
```

###  Alternatives

[pelmered/fake-car

Fake-Car is a Faker provider that generates fake car data for you.

1271.2M2](/packages/pelmered-fake-car)

PHPackages © 2026

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