Hello,
Sorry but we don't understand your question.
phpdocx doesn't change template files. A new document is generated after using the template methods. The same template can be used to generate as many documents as needed.
Multiple DOCX documents can be merged into one DOCX using the mergeDocx method (https://www.phpdocx.com/api-documentation/docxutilities/merge-Word-documents-with-PHP).
If you send more information about the task you need to do, we'll be able to provide further help.
Regards.