From b83ed80c2d2a81a9deb4e94941614de1c06c54ed Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Mon, 7 Aug 2023 14:59:22 +0000 Subject: automatic import of composer --- composer-add-aliyun-repository.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 composer-add-aliyun-repository.patch (limited to 'composer-add-aliyun-repository.patch') diff --git a/composer-add-aliyun-repository.patch b/composer-add-aliyun-repository.patch new file mode 100644 index 0000000..f5bc1c2 --- /dev/null +++ b/composer-add-aliyun-repository.patch @@ -0,0 +1,14 @@ +--- 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 = [ ++ 'aliyun.com' => [ ++ 'type' => 'composer', ++ 'url' => 'https://mirrors.aliyun.com/composer/', ++ 'canonical' => false, ++ ], + 'packagist.org' => [ + 'type' => 'composer', + 'url' => 'https://repo.packagist.org', -- cgit v1.2.3