I\'m using phpspreadsheet to export xlsx from a html file using the below code.
require_once __DIR__.\'/vendor/autoload.php\'; $reader = new \\PhpOffice\\PhpSpre