Skip to content

composer install only a specific package #11870

Closed Answered by Seldaek
sadamczyk-eos asked this question in Q&A / Support
Discussion options

You must be logged in to vote

Yeah, we only support dependencies as a set of things. Installing a single dependency is typically meaningless so this is not supported. You can use composer show --lock --format=json to extract data and maybe run a require to create a new composer.json with a new vendor dir containing just the one dependency..

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sadamczyk-eos
Comment options

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