rap2hpoutre/csv-to-associative-array
最新稳定版本:v0.0.3
Composer 安装命令:
composer require rap2hpoutre/csv-to-associative-array
包简介
CVS to associative array
README 文档
README
This package only contains a 587 bytes function: csv_to_associative_array.
What?
Get your CSV file as an associative array. From this:
name,email
raphael,raphael@example.org
lisa,lisa@example.org
To this:
[ ['name' => 'raphael', 'email' => 'raphael@example.org'], ['name' => 'lisa', 'email' => 'lisa@example.org'] ]
How?
Install via composer
composer require rap2hpoutre/csv-to-associative-array
Use
$content = \Rap2hpoutre\Csv\csv_to_associative_array('path/to/csv/file.csv');
统计信息
- 总下载量: 9.18k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-06-09