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

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

h0gar/csv
=========

v0.1(11y ago)01.1k2MITPHP

Since Mar 21Pushed 11y agoCompare

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

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

\#Csv

A lightweight package creat csv files.

- [Installation](#installation)
- [Usage](#usage)

\##Installation

```
composer require h0gar/csv *

```

\##Usage

```
$csv = new \H0gar\Csv\Csv([
	'id',
	'firstname',
	'name'
]);

$content = [
	[
		1,
		'foo',
		'bar'
	],
	// ..
];

foreach($content as $row)
	$csv->add($row);

$result = $csv->render();

```

\##Contributing

Please submit all issues and pull requests to the [h0gar/csv](http://github.com/h0gar/csv) repository.

\##License

Open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity53

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

4076d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/352850?v=4)[leyou](/maintainers/leyou)[@leyou](https://github.com/leyou)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[zservices/query

Pacote para consultas em serviços do governo.

131.1k](/packages/zservices-query)

PHPackages © 2026

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