Skip to main content
Tweeted twitter.com/StackDrupal/status/676604925967785984
edited tags
Link
Adrian Cid Almaguer
  • 18.5k
  • 14
  • 79
  • 133
Source Link
Eugene
  • 2.4k
  • 1
  • 19
  • 27

Where should I download libraries for modules through composer?

I've started to use Drupal 8 and some modules requires some libraries. For example search api solr. When I'm installing these libraries via composer it downloads the libraries into directory of the module. For example modules/contrib/search_api_solr/vendor. I don't think that it's correct because contrib modules should be stored in clean state.

What the right way to install libraries for modules via composer? Where should I store them?