Hello,
What version and license of phpdocx are you using?
If you are creating the DOCX from scratch you can use modifyPageLayout to change the layout of the current section and addSection to create and add new sections. More complex tasks may require an Advanced or a Premium license.
Regards.