I tried with this code :
$docx = new CreateDocx();
$docx->createDocx();
And also this code :
$docx = new CreateDocxFromTemplate('document.docx');
$docx->createDocx('document.docx');
Without anything else and it still giving me something corrupted.
If it's because of the web server, how can I get this right ?