Hello,
You can use DOCXPath to insert new contents (and also replace, remove, move and other tasks) at specific positions of a document: after or before some content or tag. For example, at the beginning of a section, after some specific existing content... We recommend you to check the documentation available on https://www.phpdocx.com/documentation/introduction/docxpath and the included samples.
Regards.