composer : is there a way to specify a preference order for package repositories?
问题 I am working with a package vendorName/moduleName (a Magento extension) that is present on packagist and on firegento. On my composer.json file, I have : "require": { ...................., ..................., "vendorName/moduleName":"*" }, "repositories": [ ......................, ...................., { "type": "composer", "url": "https://packages.firegento.com" } ], As Composer is downloaded pre-configured to use packagist.org , the vendorName/moduleName is loaded from packagist . I would