I've just download and setup on my web site the Free PHPDOCX. Then i created a script and copy the first example :
$docx = new \CreateDocx();
$docx->addText("Hello world!");
$docx->createDocx("../word_documents/hello_world");
During first execution
Warning: Illegal string offset 'b'
and no doc generated.
I've pass all parameters :
Runtime Notice: Declaration of CreateStyle::generateB() should be compatible ...
Any idea what's config missing ?
Thanks