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

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

tonyfarney/csv-reader
=====================

Ease to use CSV Reader for PHP 7+

1.0.1(5y ago)0145MITPHPPHP ^7.0|^8.0

Since May 29Pushed 5y ago1 watchersCompare

[ Source](https://github.com/tonyfarney/CSVReader)[ Packagist](https://packagist.org/packages/tonyfarney/csv-reader)[ Docs](https://github.com/tonyfarney/CSVReader)[ RSS](/packages/tonyfarney-csv-reader/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (3)Used By (0)

CSVReader
=========

[](#csvreader)

Ease to use CSV Reader for PHP 7+

Instalation
-----------

[](#instalation)

In your project root, run the following composer command:

```
$ composer require tonyfarney/csv-reader

```

General orientations
--------------------

[](#general-orientations)

CSVReader loads CSV from string and returns an array containing all lines read. Each position is a line e each line is an array of columns. For all the examples of use, we will consider the following code as the base implementation:

```
