Answer the question
In order to leave comments, you need to log in
How to change directory for a package in Composer?
In the composer.json of the project, I wrote a dependency (git repository), suppose test/test-pack. And in the same file I registered the setting so that this package would be installed on a custom path:
"extra": {
"installer-paths": {
"local/templates/.default/test": ["test/test-pack"]
}
}
Answer the question
In order to leave comments, you need to log in
The reason was that the package type was not specified in the pluggable dependency. The type must have been one of those available in the composer/install package.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question