Laden Sie die HTML -Tabelle zum Excel herunter

ob_end_clean();
ob_start();
Excel::create($filename, function($excel) use($records, $sheetname, $data) {}
Lovely Lyrebird