Hello,
We recommend you to check the included samples, run the check.php script included in all packages and follow the available documentation to start using phpdocx:
https://www.phpdocx.com/documentation/introduction/tutorial
https://www.phpdocx.com/documentation/practical
Regards.