Hello,
You can use the method addTable to create tables using PHP:
https://www.phpdocx.com/api-documentation/word-content/add-table-Word-document-with-PHP
Or if you are using a template, you can replace table contents using this method:
https://www.phpdocx.com/api-documentation/templates/replace-table-variable-Word-document
Please check the included examples to understand how to use these methods.
Regards.