PHPackages                             phillipsdata/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. phillipsdata/csv

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

phillipsdata/csv
================

CSV Reader and Writer

1.1.0(10y ago)0850↓50%[1 issues](https://github.com/phillipsdata/csv/issues)MITPHPPHP &gt;=5.4

Since Feb 16Pushed 10y ago4 watchersCompare

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

READMEChangelog (2)Dependencies (3)Versions (5)Used By (0)

Csv
===

[](#csv)

[![Build Status](https://camo.githubusercontent.com/9bfa24c5ae814e33971f50da3b28ffb1bf0cf334e1f0935fcb37bd5df1594d31/68747470733a2f2f7472617669732d63692e6f72672f7068696c6c697073646174612f6373762e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/phillipsdata/csv) [![Coverage Status](https://camo.githubusercontent.com/0b31227a5f6430cacc712b75a4e57a654b40a705580fd85663fb976487a11398/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f7068696c6c697073646174612f6373762f62616467652e737667)](https://coveralls.io/r/phillipsdata/csv)

A CSV reader and writer with no external dependencies, that allows just in time formatting and filtering, and operates on files as well as streams.

Install
-------

[](#install)

```
composer require phillipsdata/csv
```

Basic Usage
-----------

[](#basic-usage)

### Reading a CSV

[](#reading-a-csv)

```
