wikimedia / composer-merge-plugin

Merge one or more additional composer.json files at Composer runtime
MIT License
926 stars 160 forks source link

install packages local to composer.json #178

Open v3nt opened 4 years ago

v3nt commented 4 years ago

Is there a way to install the vendor/ packages local to the composer.json file?

ie /composer.json /vendor/PACKAGES HERE /theme/My_Theme/composer.json /theme/My_Theme/vendor/PACKAGES HERE

thanks! D.

bd808 commented 4 years ago

Not using composer-merge-plugin, no. The primary point of this composer plugin is to consolidate the dependencies defined in 2 or more composer.json files into a single vendor folder. If you have a project with the layout your are describing then 'vanilla' Composer would work to do what you want with the manual work of changing into each sub-package directory containing a composer.json and running Composer there.