Hello,
phpdocx includes two external libraries that doesn't complain psr-4. As explained in our previous reply, the recommended way to include phpdocx with Composer is using classmap:
"autoload": {
"classmap": [
"vendor/phpdocx/Classes/Phpdocx"
]
}
not psr-4 as you are using. Using classmap to autoload phpdocx classes with Composer is fully tested and working, please use classmap not psr-4.
On https://getcomposer.org/doc/04-schema.md#classmap you can read about using Composer with classmap.
Regards.