Download the PHP package taranto/csv-parser without Composer
On this page you can find all versions of the php package taranto/csv-parser. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package csv-parser
CSV Parser
An easy to use CSV parser
Features
- Converts CSV to arrays and arrays indexed by the first row cells (headers);
- Automatically guesses CSV fields delimiter;
- Provides limit and offset options for parsing;
- Performance wise parsing while using as an iterator.
Requirements
- PHP 7.0 or later.
Installation
Usage
Parsing a CSV file to an array:
Parsing a CSV file to an array indexed by the first row cells (headers):
Performance wise usage (good for large files):
-
Simple arrays
- Associative arrays
Example
Given the CSV
Parsing to an associtive array with offset(1) and limit(2):
Returns:
Author
- Renan Taranto - [email protected]
License
This project is licensed under the MIT License - see the LICENSE.txt file for details
All versions of csv-parser with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
The package taranto/csv-parser contains the following files
Loading the files please wait ....