shifft/csvparser
Composer 安装命令:
composer require shifft/csvparser
包简介
A simple csv parser, with automatic delimiter detection and header detection
README 文档
README
What is this?
A simple csv parser, with automatic delimiter detection and header detection
Getting Started
To get started, require the package with composer require shifft/csvparser
Usage
Have the following code at the top of your file
use Shifft\CsvParser\CsvParser;
And use it as such:
$parser = new CsvParser();
$parser->parse($data);//data can be a path to a csv file or a csv string
$data = $parser->lines;//get the csv data
$headers = $parser->headers;//get the csv headers
统计信息
- 总下载量: 378
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2018-03-16