Answer the question
In order to leave comments, you need to log in
Composer: require-dev to specific folder?
There is a composer package that I want to install in a specific folder. Did something like this
"require-dev": {
"potsky/pimp-my-log": "*"
},
#.......*тут autoload*......
"extra": {
"installer-paths": {
"pimpmylog/": ["potsky/pimp-my-log"]
}
}
Answer the question
In order to leave comments, you need to log in
Note: You cannot use this to change the path of any package. This is only applicable to packages that require composer/installers and use a custom type that it handles.
"config": {
"vendor-dir": "plugins"
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question