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

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

xihongke/csv-exporter
=====================

A lightweight and concise csv exporter./一个轻量、简洁的Csv导出器。

0.1(4y ago)22MITPHPPHP &gt;=7.0.0

Since Jun 29Pushed 4y ago1 watchersCompare

[ Source](https://github.com/XihongKe/CsvExporter)[ Packagist](https://packagist.org/packages/xihongke/csv-exporter)[ RSS](/packages/xihongke-csv-exporter/feed)WikiDiscussions develop Synced today

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

CsvExporter
===========

[](#csvexporter)

A lightweight and concise csv exporter.
一个轻量、简洁的Csv导出器。

### Install

[](#install)

```
composer require xihongke/csv-exporter
```

### Usage

[](#usage)

```
use XihongKe\CsvExporter\CsvExporter;

$exporter = new CsvExporter("学生列表", ['学号', '姓名', '性别']);

// 往表里写入单行数据
$exporter->row(['1001', '张三', '男']);
// 多行数据
$exporter->rows([
    ['1002', '李红', '女'],
    ['1003', '吴均', '男'],
]);
```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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

1775d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f4dd2e77dea1fa07363aa67aa170a4dcb25d7b5cbf50dcbff16372f5021e9d75?d=identicon)[XihongKe](/maintainers/XihongKe)

---

Top Contributors

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

### Embed Badge

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

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

PHPackages © 2026

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