--- a/src/Composer/Config.php.orig 2023-02-25 11:59:19.951057271 +0800 +++ b/src/Composer/Config.php 2023-02-25 12:03:48.490871158 +0800 @@ -86,6 +86,11 @@ /** @var array */ public static $defaultRepositories = [ + 'huaweicloud.com' => [ + 'type' => 'composer', + 'url' => 'https://repo.huaweicloud.com/repository/php/', + 'canonical' => false, + ], 'packagist.org' => [ 'type' => 'composer', 'url' => 'https://repo.packagist.org',