Installing package from local repository as symlink does not install dev dependencies #12340
-
Hi all, i have a shopware 6 project. it has configured repositories to the place where the plugins are located. now i want to install the plugin including dev dependencies. the plugin itsself is installed but without dev dependencies. so my main composer.json looks like that
and my source code is inside custom/plugins/PackageName there is a composer.json inside with dev dependencies. now i run composer require vendorName/packageName -w the package from custom/plugins is now symlinked inside the main vendor but all the dev dependncies are not installed. i tried to delete vendor folder and composer.lock and installed everything and its still does not work. the dev dependencies are inside the composer.lock but the actual dev dependencies are not installed in the main vendor folder iam using composer 2.8.6. maybe i have to configure something so that the dev dependencies are also installed? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
This is expected. Dev requirements are only considered for the root package: https://getcomposer.org/doc/04-schema.md#require-dev |
Beta Was this translation helpful? Give feedback.
This is expected. Dev requirements are only considered for the root package: https://getcomposer.org/doc/04-schema.md#require-dev