Samples phpdocx - Invoice

Sample code - Invoice

This example has been created with a template. For the replacement of the table data we have used the replaceTableVariable method. This method is designed to generate a Word table with an unlimited number of rows.