How to merge cell in box spout writing excel file. I have tried cell merge using below code
$customTempFolderPath = sys_get_temp_dir();
$writer = WriterFactory::create(Type::XLSX);
$writer->setTempFolder($customTempFolderPath)
->setShouldUseInlineStrings(true)
->openToFile($filePath)
->addRowWithStyle($header, $headerStyle)
->addRowWithStyle($headerRow, $headerRowStyle)
->addRowsWithStyle($dataRows, $defaultStyle)
->addRowWithStyle($lastRow, $headerRowStyle)
->close();