https://github.com/staempfli/magento2-module-spreadsheet
Magento 2 Module for parsing xlsx, xlsm and csv files from Excel
https://github.com/staempfli/magento2-module-spreadsheet
magento2 magento2-extension spreadsheet
Last synced: 6 months ago
JSON representation
Magento 2 Module for parsing xlsx, xlsm and csv files from Excel
- Host: GitHub
- URL: https://github.com/staempfli/magento2-module-spreadsheet
- Owner: staempfli
- Created: 2016-11-07T09:53:46.000Z (almost 9 years ago)
- Default Branch: develop
- Last Pushed: 2020-09-16T12:14:00.000Z (about 5 years ago)
- Last Synced: 2024-11-01T00:12:17.119Z (12 months ago)
- Topics: magento2, magento2-extension, spreadsheet
- Language: PHP
- Size: 3.91 KB
- Stars: 9
- Watchers: 10
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Magento 2 Spreadsheet Parser
=============
[](http://www.repostatus.org/#abandoned)
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.
```php
$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](https://github.com/staempfli/magento2-module-spreadsheet/issues).
Contribution
------------
Any contribution is highly appreciated. The best way to contribute code is to open a [pull request on GitHub](https://help.github.com/articles/using-pull-requests).
Developer
---------
Staempfli Webteam and all other [contributors](https://github.com/staempfli/magento2-module-spreadsheet/contributors)
License
-------
[Open Software License ("OSL") v. 3.0](https://opensource.org/licenses/OSL-3.0)
Copyright
---------
(c) 2016, Stämpfli AG