tszmyt/magento2-module-spreadsheet
Composer 安装命令:
composer require tszmyt/magento2-module-spreadsheet
包简介
Fork for newer php versions - Magento 2 Module for parsing xlsx, xlsm and csv files from Excel
README 文档
README
Facts
Parse XLSX, XLSM and CSV Files from Excel
Requirements
- PHP >= 7.0.*
- Magento >= 2.1.*
Compatibility
- Magento >= 2.1
Usage
Load Uploader and Parser via DI, so they can be used in your method.
$file = $this->uploader->upload(['fileId' => \Magento\ImportExport\Model\Import::FIELD_NAME_SOURCE_FILE]); $data = $this->parser->readFile($file); foreach ($data as $index => $values) { var_dump($index, $values); }
Support
If you have any issues with this extension, open an issue on GitHub.
Contribution
Any contribution is highly appreciated. The best way to contribute code is to open a pull request on GitHub.
Developer
Staempfli Webteam and all other contributors
License
Open Software License ("OSL") v. 3.0
Copyright
(c) 2016, Stämpfli AG
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 4
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2019-06-10