Reading very large (over 100 MB) Excel files in PHP

I am trying to read an Excel file larger than 100 MB using PHPExcel, but it crashes when the file is downloaded. I don't need a style. I tried using:

$objReader->setReadDataOnly(true);

but he still falls.

Is there an efficient way to read this excel file size in PHP?

+4
source share
1 answer

Try Spout : https://github.com/box/spout .

This is a PHP library created to solve your problem (read / write large files). This is why it works:

, - . , .

, Spout . , , / . / ! :)

+1

Source: https://habr.com/ru/post/1611378/


All Articles