dev-master
9999999-devcvs file parser php
MIT
The Requires
- php >=5.5.0
- yiisoft/yii2 >=2.0.6
csv parser csv parser yii2 components
cvs file parser php
cvs file parser php, (*1)
Via composer:, (*2)
$ composer require getbackmyself/csv-parser
use getbackmyself\CsvParser\CsvParser;
Get Field count
return int:, (*3)
CsvParser::instance('filename', 'path')->getSize();
Get Table Headers
return array:, (*4)
CsvParser::instance('filename', 'path')->getHeaders();
Get all Fields
return array:, (*5)
CsvParser::instance('filename', 'path')->getFields();
Get Field by ID
return array:, (*6)
CsvParser::instance('filename', 'path')->getField(id);
cvs file parser php
MIT
csv parser csv parser yii2 components