Excuse me if this sounds silly but I am quite new to composer. I try to install a repository distributed in Packagist, but I don't know how composer defines the location of the repositories required. If I install a repo on VCS, I can define the location by specifying target-dir
, but this doesn't work for Packagist repos.
An example would be if I were to install a packagist called bugsnag/bugsnag
, https://packagist.org/packages/bugsnag/bugsnag
The location this repo would be installed in would be vendor/bugsnag/bugsnag/
, it seems like the path follows the formation of the name of the repo, am I right?
Any suggestion would be appreciated!
Thanks!