PHPackages                             doskyft/csv-helper - 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. [PDF &amp; Document Generation](/categories/documents)
4. /
5. doskyft/csv-helper

ActiveLibrary[PDF &amp; Document Generation](/categories/documents)

doskyft/csv-helper
==================

A small package for parse CSV

v1.0.0(3y ago)0112MITPHPPHP &gt;=8.1

Since Nov 6Pushed 3y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (2)Used By (0)

csv-helper
==========

[](#csv-helper)

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

[](#installation)

```
composer require doskyft/csv-helper
```

Usage
-----

[](#usage)

```
use Doskyft\CsvHelper\ColumnDefinition;
use Doskyft\CsvHelper\Csv;
use Doskyft\CsvHelper\Types;

$csv = new Csv();

$csv
    ->setColumnSeparator(',')
    ->setColumns([
        ColumnDefinition::new('a_string_columns', Types::STRING),
        ColumnDefinition::new('a_bool_columns', Types::BOOLEAN)
            ->setConverterOptions([
                'falseValues' => ['false', 'not true', '...'],
            ]),
    ])
    ->setAllColumnsIsNeeded(false)
    ->setTrim(false)
;

$results = $csv->readFromString('
    a_string_columns,a_bool_columns
    value,not true
    value 2,true
');
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

1288d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7895876efd4346d2396bc8e390c7923f6b2c6c1311346d17cdee3bcb61881a47?d=identicon)[Doskyft](/maintainers/Doskyft)

---

Top Contributors

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

---

Tags

csvparserphp

### Embed Badge

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

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

###  Alternatives

[phpoffice/phpspreadsheet

PHPSpreadsheet - Read, Create and Write Spreadsheet documents in PHP - Spreadsheet engine

13.9k293.5M1.3k](/packages/phpoffice-phpspreadsheet)[spatie/browsershot

Convert a webpage to an image or pdf using headless Chrome

5.2k32.1M102](/packages/spatie-browsershot)[smalot/pdfparser

Pdf parser library. Can read and extract information from pdf file.

2.7k34.5M216](/packages/smalot-pdfparser)[barryvdh/laravel-snappy

Snappy PDF/Image for Laravel

2.8k24.8M48](/packages/barryvdh-laravel-snappy)[openspout/openspout

PHP Library to read and write spreadsheet files (CSV, XLSX and ODS), in a fast and scalable way

1.1k57.6M131](/packages/openspout-openspout)[keboola/csv

Keboola CSV reader and writer

1451.8M21](/packages/keboola-csv)

PHPackages © 2026

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