Closed OnkelTem closed 7 years ago
Sorry, ignore this issue. You won't get stuff going to some custom directory only by providing the dependency from composer/installers
. As a matter of fact you don't need such a dependency. What you really need is oomphinc/composer-installers-extender composer plugin
which allows for custom installation paths of composer packages:
$ composer require oomphinc/composer-installers-extender
then add this to the extra section of your composer.json
:
"extra": {
"installer-types": [ "library" ],
"installer-paths": {
"path/to/custom/installation/path{$name}": [
"ckeditor/ckeditor"
],
}
Currently your
composer.json
restricts ability to install it somewhere under website's root - instead it goes tovendor/
which makes no sense asvendor/
is not exposed to direct invocation and is located above the website's root.Please add:
to let us install the library to specified locations using standard means:
See: https://getcomposer.org/doc/faqs/how-do-i-install-a-package-to-a-custom-path-for-my-framework.md