What if you want to make the directory name generated by composer not vendor,?

there is a vendor directory name in the project as another module. If you want to use composer to generate a directory name that is not vendor, how to solve

Oct.19,2021

you can install packages to folders other than vendor by using composer/installers,Composer.


{
    "config": {
        "vendor-dir": 'xxx'
    }
}
Menu