Is Packagist (https://packagist.org/) the only repository/library of packages that Composer pull from out of the box?
I know that Composer can be configured to point to other libraries of packages, including in-house setups using Satis or other tools. But I am curious if it will scan other libraries, such as Packalyst.
I have been doing a lot of searching and have not found a clear answer to this question. I highly suspect that Packagist is the only library that Composer connects to by default. But I would like to confirm this.
Thanks!
Composer is downloaded pre-configured to use packagist.org.
Run:
composer config --list --global
To get:
Run:
composer config --global repositories.example composer http://example.com
To get:
As you can see, your own package listing site has been added the your copy of composer. Now, when you install packages, it will search both locations for the packages.
You can even remove them. For example to remove the site you just added:
Make a backup or be prepared to reinstall composer if you mess it up.
To remove packagist: