PHPackages                             bluefrg/parsecsv - 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. bluefrg/parsecsv

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

bluefrg/parsecsv
================

Extend PHP's native CSV parsing from the SplFileObject class but provide features to use the first row's values as keys on the remaining rows.

2.0.0(2y ago)17.7k[1 issues](https://github.com/mikefrank-ca/parsecsv/issues)MITPHPPHP &gt;=8.1CI passing

Since Jul 29Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/mikefrank-ca/parsecsv)[ Packagist](https://packagist.org/packages/bluefrg/parsecsv)[ RSS](/packages/bluefrg-parsecsv/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (0)

ParseCsv
========

[](#parsecsv)

Extend PHP's native CSV parsing from the [SplFileObject](https://secure.php.net/manual/en/class.splfileobject.php) class but provide features to use the first row's values as keys on the remaining rows.

There are other libraries which accomplish the similar thing, but they are memory inefficient and rely on their own (sometimes buggy) parsing implementation.

```
