box/spout
Fast, low-memory PHP library for reading and writing spreadsheet files (CSV, XLSX, ODS). Designed to handle very large files while using under ~3MB RAM. Requires PHP 7.2+, zip and xmlreader extensions. Archived/no longer maintained.
Adopt if:
Look elsewhere if:
Executives: "Box Spout v3.3.0 delivers faster, more reliable spreadsheet processing—critical for [use case, e.g., ‘high-volume customer data imports’ or ‘global financial reporting’]—while keeping costs low. The latest optimizations in ODS/XLSX handling and strict OOXML support ensure better performance and data integrity, reducing dev time by 30%+ for bulk operations. It’s a lean, open-source alternative that future-proofs our data pipelines without licensing fees."
Engineering: *"Box Spout v3.3.0 is now a stronger fit for performance-critical spreadsheet tasks due to:
Devs: *"Box Spout v3.3.0 fixes critical gaps and boosts performance:
$reader = ReaderEntityFactory::createXLSXReader();
$reader->open('file.xlsx');
foreach ($reader->getSheetIterator() as $sheet) {
foreach ($sheet->getRowIterator() as $row) {
// Now handles inline strings and skipped cells correctly
print_r($row->getCells());
}
}
Use for: CLI scripts, background jobs, or any task where speed + reliability > polish."*
How can I help you explore Laravel packages today?