OpenSpout is a PHP library for reading and writing spreadsheet files, including XLSX, CSV and ODS. It processes large files with low memory use. OpenSpout is a community-maintained fork of Box/Spout.
See the official OpenSpout repository for more information.
Which extensions use OpenSpout?
Newer versions of our extensions use OpenSpout for XLSX import and export, including Related Options, Related Options PRO, Product Option Image PRO and Parent-child Options.
The library used and its PHP requirements depend on your extension version. Use the library offered in the extension settings for your server. Older versions may use Box/Spout or PHPExcel instead.
How to install OpenSpout
The extension provides automatic installation from its settings page:
- Open the extension settings in your OpenCart admin and select the import or export tab.
- If the library is missing, click the library installation button. The extension downloads and installs it for you.
- Reload the settings page after installation, then use the import or export feature.
You do not need to download or upload the library files manually. The library is needed only for the import and export features that use it.
If automatic installation fails in an OpenCart 3 extension that uses OpenSpout 4.20.0, download our OpenSpout 4.20.0 package. Extract it and upload the entire openspout-4.20.0 folder into system/library/liveopencart/lib/vendor/ in your OpenCart installation. Then reload the extension settings page.