PHPackages                             mohammedmanssour/fast-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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. mohammedmanssour/fast-csv

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

mohammedmanssour/fast-csv
=========================

Fast, Memory-light, CSV Importer/Exporter that provide better testing experience

v0.0.1(2y ago)2375[2 PRs](https://github.com/mohammedmanssour/fast-csv/pulls)MITPHPPHP ^8.1

Since May 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/mohammedmanssour/fast-csv)[ Packagist](https://packagist.org/packages/mohammedmanssour/fast-csv)[ Docs](https://github.com/mohammedmanssour/fast-csv)[ GitHub Sponsors](https://github.com/MohammedManssour)[ RSS](/packages/mohammedmanssour-fast-csv/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (5)Versions (4)Used By (0)

Fast CSV
========

[](#fast-csv)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e840dbede72d2d18c630737440ccb3a16dbffdaf8b80f19ca70ad1123536356b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6f68616d6d65646d616e73736f75722f666173742d6373762e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mohammedmanssour/fast-csv)[![Tests](https://camo.githubusercontent.com/aeea6b47f8bc9d8f5f3e92677cc30c1e64f80f335350b2023aaac2104cc5409c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6d6f68616d6d65646d616e73736f75722f666173742d6373762f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/mohammedmanssour/fast-csv/actions/workflows/run-tests.yml)[![Total Downloads](https://camo.githubusercontent.com/2438402bc177f736f4c6205cd54c383d9ebc096f5938eea7bb3af20ddd270526/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6f68616d6d65646d616e73736f75722f666173742d6373762e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mohammedmanssour/fast-csv)

Fast, Memory-light, CSV Importer/Exporter that provide better testing experience

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

[](#installation)

You can install the package via composer:

```
composer require mohammedmanssour/fast-csv
```

Usage
-----

[](#usage)

### Exporting data to csv file

[](#exporting-data-to-csv-file)

```
FastCSV::exporter()
    ->header(["One", "Two", "Three"])
    // data can be an array or any object that implements that iterator pattern
    ->data([
        ["Line 1: One", "Line 1: Two", "Line 1: Three"],
        ["Line 2: One", "Line 2: Two", "Line 2: Three"],
    ])
    ->toFile(__DIR__ . '/some.csv') // the target file
    ->export();
```

Testing
-------

[](#testing)

```
composer test
```

Credits
-------

[](#credits)

- [Mohammed Manssour](https://github.com/mohammedmanssour)
- [All Contributors](../../contributors)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity16

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

740d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/aeb75f35979097845cce704062910a6a8c85bc0a7b49b081df7350a4f20023fc?d=identicon)[manssour.mohammed](/maintainers/manssour.mohammed)

---

Top Contributors

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

---

Tags

MohammedManssourfast-csv

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

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

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

###  Alternatives

[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M65](/packages/sabberworm-php-css-parser)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)[jms/serializer-bundle

Allows you to easily serialize, and deserialize data of any complexity

1.8k89.3M627](/packages/jms-serializer-bundle)[hassankhan/config

Lightweight configuration file loader that supports PHP, INI, XML, JSON, and YAML files

97513.5M170](/packages/hassankhan-config)[meyfa/php-svg

Read, edit, write, and render SVG files with PHP

54613.9M42](/packages/meyfa-php-svg)

PHPackages © 2026

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