Hi there, good news, problem solved. Better news, the issue was not related to phpdocx but to the firewall which blocked access to DigiCert, don't know why it never happened on the application but only with phpdocx.
Thanks a lot for the time spent helping me :)
Regards