There is a simple mechanism: a file is uploaded to the server, through phpexcel, the data is read into an array, then the template changes certain values in each cell (array), exports a new array to CSV, and provides a link to download it.
Plus: Just
Minus: Document styles are formatted, there are no more closed cells, no merges
Is there a way to read the cell values, but immediately write the changes to the file?