dependencies - Setting a package install-path for composer -
i've learned how set custom install-path composer package on project side.
"extra": { "installer-paths": { "foobar": ["vendor/package"] } }
however, want able set dir name package on package side, in composer.json file within package repo. placing installer-path key there doesn't affect installation dir , package installed in default vendor/packagename dir.
how set install path package within it's own composer.json?
it can solved adding installer-name
extra
key in package's composer.json file.
"extra": { "installer-name": "foobar, }
Comments
Post a Comment