Hello,
To avoid conflicts with PHP classes with the same name, we recommend you to use the namespaces package available in Advanced and Premium licenses instead of the classic one. As you are using a Premium license, you can download it on MYPHPDOCX page after login.
phpdocx uses custom FPDF and TCPDF classes, so they need to be used to work properly.
Regards.