PHPackages                             ivanomatteo/csv-read-write - 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. ivanomatteo/csv-read-write

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

ivanomatteo/csv-read-write
==========================

easy way to read and write csv files

0.1.2(4y ago)084[2 PRs](https://github.com/ivanomatteo/csv-read-write/pulls)MITPHPPHP ^8.0

Since Jan 11Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ivanomatteo/csv-read-write)[ Packagist](https://packagist.org/packages/ivanomatteo/csv-read-write)[ Docs](https://github.com/ivanomatteo/csvreadwrite)[ GitHub Sponsors](https://github.com/ivanomatteo)[ RSS](/packages/ivanomatteo-csv-read-write/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (6)Used By (0)

easy way to read and write csv files
====================================

[](#easy-way-to-read-and-write-csv-files)

[![Latest Version on Packagist](https://camo.githubusercontent.com/6ee50e85cbc143aa09fbf992a46e1e6436e99d7a2af02798d9e5d172a0c60840/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6976616e6f6d617474656f2f6373762d726561642d77726974652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ivanomatteo/csv-read-write)[![Tests](https://github.com/ivanomatteo/csv-read-write/actions/workflows/run-tests.yml/badge.svg?branch=main)](https://github.com/ivanomatteo/csv-read-write/actions/workflows/run-tests.yml)[![Total Downloads](https://camo.githubusercontent.com/b00960c5596ee3d19f6abb64ec20a719bb743cb3a3f9cf6f0065b0c65e010d70/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6976616e6f6d617474656f2f6373762d726561642d77726974652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ivanomatteo/csv-read-write)

This is where your description should go. Try and limit it to a paragraph or two. Consider adding a small example.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require ivanomatteo/csv-read-write
```

Usage
-----

[](#usage)

```
use IvanoMatteo\CsvReadWrite\CsvWriter;

(new CsvWriter(__DIR__."/tmp.csv"))
->format(';','"',"\\")
->write(
    [
        ['aaa','bbb', 'ccc'],
        ['foo','bar', 'baz'],
    ],
    ['column1', 'column2', 'column3'] // optional first row
);
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Ivano Matteo](https://github.com/ivanomatteo)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity48

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.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

1587d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/35255310?v=4)[Ivano Matteo](/maintainers/IvanoMatteo)[@ivanomatteo](https://github.com/ivanomatteo)

---

Top Contributors

[![ivanomatteo](https://avatars.githubusercontent.com/u/35255310?v=4)](https://github.com/ivanomatteo "ivanomatteo (14 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (11 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (11 commits)")

---

Tags

ivanomatteocsvreadwrite

###  Code Quality

TestsPest

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/ivanomatteo-csv-read-write/health.svg)

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

###  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)
