Skip to content
\n

and my source code is inside custom/plugins/PackageName

\n

there is a composer.json inside with dev dependencies.

\n

now i run

\n

composer require vendorName/packageName -w

\n

the package from custom/plugins is now symlinked inside the main vendor but all the dev dependncies are not installed.

\n

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

\n

iam using composer 2.8.6. maybe i have to configure something so that the dev dependencies are also installed?

","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"

This is expected. Dev requirements are only considered for the root package: https://getcomposer.org/doc/04-schema.md#require-dev

","upvoteCount":1,"url":"https://github.com/composer/composer/discussions/12340#discussioncomment-12548148"}}}
Discussion options

You must be logged in to vote

This is expected. Dev requirements are only considered for the root package: https://getcomposer.org/doc/04-schema.md#require-dev

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@BlackScorp
Comment options

Answer selected by BlackScorp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants