$ 0 0 Load your template into a PHPExcel objectUpdate the PHPExcel objectInstantiate a Writer Save the PHPExcel object using the Writer There are plenty of examples in the Tests or Examples folders, plus documentation in the Documentation folder