Skip to content

Commit 423b916

Browse files
committed
add pecl type to downloader, fixes pecl/get giving us v3 of protobuf instead of v5.
1 parent d35cbd7 commit 423b916

File tree

4 files changed

+77
-96
lines changed

4 files changed

+77
-96
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"require": {
1212
"php": ">= 8.3",
1313
"ext-mbstring": "*",
14+
"ext-simplexml": "*",
1415
"ext-zlib": "*",
1516
"laravel/prompts": "^0.1.12",
1617
"symfony/console": "^5.4 || ^6 || ^7",

config/source.json

Lines changed: 33 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -8,30 +8,25 @@
88
"alt": false
99
},
1010
"amqp": {
11-
"type": "url",
12-
"url": "https://pecl.php.net/get/amqp",
11+
"type": "pecl",
1312
"path": "php-src/ext/amqp",
14-
"filename": "amqp.tgz",
1513
"license": {
1614
"type": "file",
1715
"path": "LICENSE"
1816
}
1917
},
2018
"apcu": {
21-
"type": "url",
22-
"url": "https://pecl.php.net/get/APCu",
19+
"type": "pecl",
20+
"pecl": "APCu",
2321
"path": "php-src/ext/apcu",
24-
"filename": "apcu.tgz",
2522
"license": {
2623
"type": "file",
2724
"path": "LICENSE"
2825
}
2926
},
3027
"ast": {
31-
"type": "url",
32-
"url": "https://pecl.php.net/get/ast",
28+
"type": "pecl",
3329
"path": "php-src/ext/ast",
34-
"filename": "ast.tgz",
3530
"license": {
3631
"type": "file",
3732
"path": "LICENSE"
@@ -85,20 +80,16 @@
8580
}
8681
},
8782
"dio": {
88-
"type": "url",
89-
"url": "https://pecl.php.net/get/dio",
83+
"type": "pecl",
9084
"path": "php-src/ext/dio",
91-
"filename": "dio.tgz",
9285
"license": {
9386
"type": "file",
9487
"path": "LICENSE"
9588
}
9689
},
9790
"ev": {
98-
"type": "url",
99-
"url": "https://pecl.php.net/get/ev",
91+
"type": "pecl",
10092
"path": "php-src/ext/ev",
101-
"filename": "ev.tgz",
10293
"license": {
10394
"type": "file",
10495
"path": "LICENSE"
@@ -115,10 +106,8 @@
115106
}
116107
},
117108
"ext-ds": {
118-
"type": "url",
119-
"url": "https://pecl.php.net/get/ds",
109+
"type": "pecl",
120110
"path": "php-src/ext/ds",
121-
"filename": "ds.tgz",
122111
"license": {
123112
"type": "file",
124113
"path": "LICENSE"
@@ -134,10 +123,8 @@
134123
}
135124
},
136125
"ext-excimer": {
137-
"type": "url",
138-
"url": "https://pecl.php.net/get/excimer",
126+
"type": "pecl",
139127
"path": "php-src/ext/excimer",
140-
"filename": "excimer.tgz",
141128
"license": {
142129
"type": "file",
143130
"path": "LICENSE"
@@ -162,10 +149,8 @@
162149
}
163150
},
164151
"ext-grpc": {
165-
"type": "url",
166-
"url": "https://pecl.php.net/get/grpc",
152+
"type": "pecl",
167153
"path": "php-src/ext/grpc",
168-
"filename": "grpc.tgz",
169154
"license": {
170155
"type": "file",
171156
"path": [
@@ -174,20 +159,16 @@
174159
}
175160
},
176161
"ext-imagick": {
177-
"type": "url",
178-
"url": "https://pecl.php.net/get/imagick",
162+
"type": "pecl",
179163
"path": "php-src/ext/imagick",
180-
"filename": "imagick.tgz",
181164
"license": {
182165
"type": "file",
183166
"path": "LICENSE"
184167
}
185168
},
186169
"ext-imap": {
187-
"type": "url",
188-
"url": "https://pecl.php.net/get/imap",
170+
"type": "pecl",
189171
"path": "php-src/ext/imap",
190-
"filename": "imap.tgz",
191172
"license": {
192173
"type": "file",
193174
"path": [
@@ -207,19 +188,15 @@
207188
}
208189
},
209190
"ext-maxminddb": {
210-
"type": "url",
211-
"url": "https://pecl.php.net/get/maxminddb",
212-
"filename": "ext-maxminddb.tgz",
191+
"type": "pecl",
213192
"license": {
214193
"type": "file",
215194
"path": "LICENSE"
216195
}
217196
},
218197
"ext-memcache": {
219-
"type": "url",
220-
"url": "https://pecl.php.net/get/memcache",
198+
"type": "pecl",
221199
"path": "php-src/ext/memcache",
222-
"filename": "memcache.tgz",
223200
"license": {
224201
"type": "file",
225202
"path": "LICENSE"
@@ -235,10 +212,8 @@
235212
}
236213
},
237214
"ext-simdjson": {
238-
"type": "url",
239-
"url": "https://pecl.php.net/get/simdjson",
215+
"type": "pecl",
240216
"path": "php-src/ext/simdjson",
241-
"filename": "simdjson.tgz",
242217
"license": {
243218
"type": "file",
244219
"path": "LICENSE"
@@ -255,40 +230,32 @@
255230
}
256231
},
257232
"ext-ssh2": {
258-
"type": "url",
259-
"url": "https://pecl.php.net/get/ssh2",
233+
"type": "pecl",
260234
"path": "php-src/ext/ssh2",
261-
"filename": "ssh2.tgz",
262235
"license": {
263236
"type": "file",
264237
"path": "LICENSE"
265238
}
266239
},
267240
"ext-trader": {
268-
"type": "url",
269-
"url": "https://pecl.php.net/get/trader",
241+
"type": "pecl",
270242
"path": "php-src/ext/trader",
271-
"filename": "trader.tgz",
272243
"license": {
273244
"type": "file",
274245
"path": "LICENSE"
275246
}
276247
},
277248
"ext-uuid": {
278-
"type": "url",
279-
"url": "https://pecl.php.net/get/uuid",
249+
"type": "pecl",
280250
"path": "php-src/ext/uuid",
281-
"filename": "uuid.tgz",
282251
"license": {
283252
"type": "file",
284253
"path": "LICENSE"
285254
}
286255
},
287256
"ext-uv": {
288-
"type": "url",
289-
"url": "https://pecl.php.net/get/uv",
257+
"type": "pecl",
290258
"path": "php-src/ext/uv",
291-
"filename": "uv.tgz",
292259
"license": {
293260
"type": "file",
294261
"path": "LICENSE"
@@ -305,9 +272,7 @@
305272
}
306273
},
307274
"ext-zip": {
308-
"type": "url",
309-
"url": "https://pecl.php.net/get/zip",
310-
"filename": "ext-zip.tgz",
275+
"type": "pecl",
311276
"license": {
312277
"type": "file",
313278
"path": "LICENSE"
@@ -412,10 +377,8 @@
412377
}
413378
},
414379
"igbinary": {
415-
"type": "url",
416-
"url": "https://pecl.php.net/get/igbinary",
380+
"type": "pecl",
417381
"path": "php-src/ext/igbinary",
418-
"filename": "igbinary.tgz",
419382
"license": {
420383
"type": "file",
421384
"path": "COPYING"
@@ -439,10 +402,8 @@
439402
}
440403
},
441404
"inotify": {
442-
"type": "url",
443-
"url": "https://pecl.php.net/get/inotify",
405+
"type": "pecl",
444406
"path": "php-src/ext/inotify",
445-
"filename": "inotify.tgz",
446407
"license": {
447408
"type": "file",
448409
"path": "LICENSE"
@@ -844,10 +805,8 @@
844805
}
845806
},
846807
"memcached": {
847-
"type": "url",
848-
"url": "https://pecl.php.net/get/memcached",
808+
"type": "pecl",
849809
"path": "php-src/ext/memcached",
850-
"filename": "memcached.tgz",
851810
"license": {
852811
"type": "file",
853812
"path": "LICENSE"
@@ -885,10 +844,8 @@
885844
}
886845
},
887846
"msgpack": {
888-
"type": "url",
889-
"url": "https://pecl.php.net/get/msgpack",
847+
"type": "pecl",
890848
"path": "php-src/ext/msgpack",
891-
"filename": "msgpack.tgz",
892849
"license": {
893850
"type": "file",
894851
"path": "LICENSE"
@@ -988,39 +945,31 @@
988945
}
989946
},
990947
"opentelemetry": {
991-
"type": "url",
992-
"url": "https://pecl.php.net/get/opentelemetry",
948+
"type": "pecl",
993949
"path": "php-src/ext/opentelemetry",
994-
"filename": "opentelemetry.tgz",
995950
"license": {
996951
"type": "file",
997952
"path": "LICENSE"
998953
}
999954
},
1000955
"parallel": {
1001-
"type": "url",
1002-
"url": "https://pecl.php.net/get/parallel",
956+
"type": "pecl",
1003957
"path": "php-src/ext/parallel",
1004-
"filename": "parallel.tgz",
1005958
"license": {
1006959
"type": "file",
1007960
"path": "LICENSE"
1008961
}
1009962
},
1010963
"pcov": {
1011-
"type": "url",
1012-
"url": "https://pecl.php.net/get/pcov",
1013-
"filename": "pcov.tgz",
964+
"type": "pecl",
1014965
"license": {
1015966
"type": "file",
1016967
"path": "LICENSE"
1017968
}
1018969
},
1019970
"pdo_sqlsrv": {
1020-
"type": "url",
1021-
"url": "https://pecl.php.net/get/pdo_sqlsrv",
971+
"type": "pecl",
1022972
"path": "php-src/ext/pdo_sqlsrv",
1023-
"filename": "pdo_sqlsrv.tgz",
1024973
"license": {
1025974
"type": "file",
1026975
"path": "LICENSE"
@@ -1053,10 +1002,8 @@
10531002
}
10541003
},
10551004
"protobuf": {
1056-
"type": "url",
1057-
"url": "https://pecl.php.net/get/protobuf",
1005+
"type": "pecl",
10581006
"path": "php-src/ext/protobuf",
1059-
"filename": "protobuf.tgz",
10601007
"license": {
10611008
"type": "file",
10621009
"path": "LICENSE"
@@ -1115,10 +1062,8 @@
11151062
}
11161063
},
11171064
"redis": {
1118-
"type": "url",
1119-
"url": "https://pecl.php.net/get/redis",
1065+
"type": "pecl",
11201066
"path": "php-src/ext/redis",
1121-
"filename": "redis.tgz",
11221067
"license": {
11231068
"type": "file",
11241069
"path": [
@@ -1155,10 +1100,8 @@
11551100
}
11561101
},
11571102
"sqlsrv": {
1158-
"type": "url",
1159-
"url": "https://pecl.php.net/get/sqlsrv",
1103+
"type": "pecl",
11601104
"path": "php-src/ext/sqlsrv",
1161-
"filename": "sqlsrv.tgz",
11621105
"license": {
11631106
"type": "file",
11641107
"path": "LICENSE"
@@ -1221,20 +1164,16 @@
12211164
}
12221165
},
12231166
"xhprof": {
1224-
"type": "url",
1225-
"url": "https://pecl.php.net/get/xhprof",
1167+
"type": "pecl",
12261168
"path": "php-src/ext/xhprof-src",
1227-
"filename": "xhprof.tgz",
12281169
"license": {
12291170
"type": "file",
12301171
"path": "LICENSE"
12311172
}
12321173
},
12331174
"xlswriter": {
1234-
"type": "url",
1235-
"url": "https://pecl.php.net/get/xlswriter",
1175+
"type": "pecl",
12361176
"path": "php-src/ext/xlswriter",
1237-
"filename": "xlswriter.tgz",
12381177
"license": {
12391178
"type": "file",
12401179
"path": "LICENSE"
@@ -1252,10 +1191,8 @@
12521191
}
12531192
},
12541193
"yac": {
1255-
"type": "url",
1256-
"url": "https://pecl.php.net/get/yac",
1194+
"type": "pecl",
12571195
"path": "php-src/ext/yac",
1258-
"filename": "yac.tgz",
12591196
"license": {
12601197
"type": "file",
12611198
"path": "LICENSE"

0 commit comments

Comments
 (0)