Forum


Replies: 1   Views: 1416
Issues with composer/autoload
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by admin  · 29-04-2021 - 05:11

Hello,

Please check the documentation available on the following pages, the recommended way is using classmap, not psr-4:

https://www.phpdocx.com/documentation/cookbook/integrate-phpdocx-with-composer

https://www.phpdocx.com/en/forum/default/topic/2050

"autoload": {
    "classmap": [
        "vendor/phpdocx/Classes/Phpdocx"
    ]
}

On https://www.phpdocx.com/en/forum/default/topic/2100, another user from your company is doing the same question too.

Regards.