slicklabs/icf-reader
Composer 安装命令:
composer require slicklabs/icf-reader
包简介
Reads ICF files
README 文档
README
Read file from disk
You can easily read in an ICF-file stored on disk.
$reader = new \ICFReader\Reader($filepath); $result = $reader->read();
Read data
If you want, you can also parse data from somewhere else than from disk. For easy testing, the below example reads the file contents manually and then processes it.
$icf_file = file_get_contents($filepath); // or from somewhere else. $reader = new \ICFReader\Reader(''); //requires a filepath parameter, but not required for reading in from data. $data = $reader->toArray($icf_file); $result = $reader->format($data);
统计信息
- 总下载量: 117
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-09-26