Description
OpenSpout is a PHP library for reading and writing spreadsheet files in CSV, XLSX and ODS formats. It is a community-driven fork of box/spout, and it is built to process very large files while keeping memory use low, which the README says is under 3 MB. The project's documentation is in the docs folder. To move from box/spout version 3 to openspout version 3, you replace the package name in composer.json and change the Box\Spout namespace to OpenSpout in your code. Version 4 adds new functionality and some breaking changes, and the project publishes an upgrade guide. The licensing is split. Code up to and directly descending from box/spout commit cc42c1d remains copyright of Box, Inc. and is licensed under Apache 2.0, while code created after that commit is copyright of the OpenSpout organization and licensed under the MIT license. The project is aimed at PHP developers who need to export or import large spreadsheets, such as reports, data feeds and user uploads, without running out of memory.…
Highlights
- Reads and writes CSV, XLSX and ODS files
- Streams very large files with low memory use
- Drop-in path from box/spout version 3
- Upgrade guide for version 4
- Documentation in the docs folder
Ratings & Reviews
No ratings yet
Be the first to rate Openspout.
People also visit
Phpspreadsheet Helper
PHP Excel Helper - Write and read Spreadsheet with easy way based on…
Openspout FAQ
What is OpenSpout?
A PHP library for reading and writing CSV, XLSX and ODS spreadsheet files, forked from box/spout.
How much memory does it use?
The README says it keeps memory use really low, under 3 MB, even on very large files.
How do I move from box/spout?
Replace box/spout with openspout/openspout in composer.json, then replace Box\Spout with OpenSpout in your code.
What changed in version 4?
The project says version 4 adds new functionality and some breaking changes, and it links an upgrade guide.
What license applies?
Code up to the box/spout fork point is Apache 2.0 and copyright Box, Inc. Later code is MIT licensed.
Is it open source?
Yes. The source is on GitHub under the openspout organization.
What are the best Openspout alternatives?
Popular alternatives to Openspout include Phpspreadsheet Helper, Hucre and React Spreadsheet. See all Openspout alternatives





