summaryrefslogtreecommitdiff
path: root/composer-add-aliyun-repository.patch
blob: f5bc1c23409cd450742541a8b4320435b15ee4c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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<string, mixed> */
     public static $defaultRepositories = [
+        'aliyun.com' => [
+            'type' => 'composer',
+            'url' => 'https://mirrors.aliyun.com/composer/',
+            'canonical' => false,
+        ],
         'packagist.org' => [
             'type' => 'composer',
             'url' => 'https://repo.packagist.org',