Composer Path Repositories

1 · Alan Storm · May 18, 2021, 12:21 p.m.
By default, when you run $ composer require some/package Composer will ask packagist.org where it can find the some/package package, (this is usually, but not always, a GitHub repo) Once composer knows where to find a package, it will download the package into your ./vendor folder. Packagist.org is a composer repository. However, it is not the only composer repository. Composer has a number of different repository types that allow you to tell composer to look for packages from other sources. For...