PHPackages                             danisalgueiro/easy-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. [File &amp; Storage](/categories/file-storage)
4. /
5. danisalgueiro/easy-csv

ActiveLibrary[File &amp; Storage](/categories/file-storage)

danisalgueiro/easy-csv
======================

Set of PHP 5.3 classes for reading and writing CSV files.

1381PHP

Since Sep 4Pushed 13y ago1 watchersCompare

[ Source](https://github.com/danisalgueiro/easy-csv)[ Packagist](https://packagist.org/packages/danisalgueiro/easy-csv)[ RSS](/packages/danisalgueiro-easy-csv/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

EasyCSV
=======

[](#easycsv)

Set of PHP 5.3 classes for reading and writing CSV files.

Reader
------

[](#reader)

To read CSV files we need to instantiate the EasyCSV reader class:

```
$reader = new \EasyCSV\Reader('read.csv');

```

You can iterate over the rows one at a time:

```
while ($row = $reader->getRow()) {
    print_r($row);
}

```

Or you can get everything all at once:

```
print_r($reader->getAll());

```

Writer
------

[](#writer)

To write CSV files we need to instantiate the EasyCSV writer class:

```
$writer = new \EasyCSV\Writer('write.csv');

```

You can write a row by passing a commas separated string:

```
$writer->writeRow('column1, column2, column3');

```

Or you can pass an array:

```
$writer->writeRow(array('column1', 'column2', 'column3'));

```

You can also write several rows at once:

```
$writer->writeFromArray(array(
        'value1, value2, value3',
        array('value1', 'value2', 'value3')
));

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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/4a54f4b0c5097d20c9723ead2ef5ea3365c0af65adae30d36ce206e798c3be92?d=identicon)[danisalgueiro](/maintainers/danisalgueiro)

---

Top Contributors

[![danisalgueiro](https://avatars.githubusercontent.com/u/215491?v=4)](https://github.com/danisalgueiro "danisalgueiro (2 commits)")[![jwage](https://avatars.githubusercontent.com/u/97422?v=4)](https://github.com/jwage "jwage (2 commits)")[![noetix](https://avatars.githubusercontent.com/u/1192279?v=4)](https://github.com/noetix "noetix (2 commits)")[![harikt](https://avatars.githubusercontent.com/u/120454?v=4)](https://github.com/harikt "harikt (1 commits)")

### Embed Badge

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

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

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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