From 570afdb19503f3fd0944a5fc496401e70d7a3944 Mon Sep 17 00:00:00 2001 From: jay <917647288@qq.com> Date: Thu, 31 Oct 2024 09:21:38 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E6=B7=BB=E5=8A=A0xlswriter=E6=89=A9?= =?UTF-8?q?=E5=B1=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/core/php/extension/Extension.js | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/src/main/core/php/extension/Extension.js b/src/main/core/php/extension/Extension.js index ad3a39ad..9d7baccd 100644 --- a/src/main/core/php/extension/Extension.js +++ b/src/main/core/php/extension/Extension.js @@ -44,6 +44,9 @@ export default class Extension { name: 'imagick', fileName: 'imagick.so', needX64Brew: true + },{ + name: 'xlswriter', + fileName: 'xlswriter.so' } ] } @@ -67,6 +70,9 @@ export default class Extension { name: 'xdebug', fileName: 'php_xdebug.dll', isZend: true + }, { + name: 'xlswriter', + fileName: 'php_xlswriter.dll' } ] } @@ -133,6 +139,10 @@ export default class Extension { } else { return '3.3.2' } + case 'xlswriter': + if (phpVersion >= 7.0){ + return '1.5.7' + } } return null } @@ -178,7 +188,10 @@ export default class Extension { } else { return '3.3.2' } - + case 'xlswriter': + if (phpVersion >= 7.0){ + return '1.5.7' + } } return null } From abd2b198a2b07b7f9e2e380250cd22440e95e1ce Mon Sep 17 00:00:00 2001 From: jay <917647288@qq.com> Date: Thu, 31 Oct 2024 09:26:08 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E4=BF=AE=E6=AD=A3windows=20=E4=B8=8B=20xls?= =?UTF-8?q?writer=20=E5=8F=AF=E7=94=A8=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/core/php/extension/Extension.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/core/php/extension/Extension.js b/src/main/core/php/extension/Extension.js index 9d7baccd..6cde1842 100644 --- a/src/main/core/php/extension/Extension.js +++ b/src/main/core/php/extension/Extension.js @@ -189,7 +189,7 @@ export default class Extension { return '3.3.2' } case 'xlswriter': - if (phpVersion >= 7.0){ + if (phpVersion >= 7.2){ return '1.5.7' } } From 583bdc0d6149c31f6dfae6a9639b8026b0a03c1f Mon Sep 17 00:00:00 2001 From: jay <917647288@qq.com> Date: Fri, 1 Nov 2024 14:01:17 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E5=B7=B2=E4=BF=AE=E5=A4=8Dwindows=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E7=9A=84=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 但是在别的扩展网站上 是可以下载到 8.2 到8.4 的windows 扩展的 https://phpext.phptools.online/extension/xlswriter-324 建议 支持 http协议的地址,让其支持非pecl官网的扩展下载 --- src/main/core/php/extension/Extension.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/main/core/php/extension/Extension.js b/src/main/core/php/extension/Extension.js index 6cde1842..65516b71 100644 --- a/src/main/core/php/extension/Extension.js +++ b/src/main/core/php/extension/Extension.js @@ -189,8 +189,15 @@ export default class Extension { return '3.3.2' } case 'xlswriter': - if (phpVersion >= 7.2){ - return '1.5.7' + + if (phpVersion == 7.0){ + return '1.2.3' + }else if (phpVersion == 7.1){ + return '1.3.2' + }else if (phpVersion == 7.2){ + return '1.3.7' + }else if (phpVersion >= 7.3 && phpVersion < 8.2){ + return '1.5.1' } } return null From 26702b4272e490c77ba1a18589d320fdabd04c48 Mon Sep 17 00:00:00 2001 From: yangweijie <917647288@qq.com> Date: Sat, 16 Nov 2024 22:27:30 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dxlswriter=20windows=20?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/core/php/extension/Extension.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/core/php/extension/Extension.js b/src/main/core/php/extension/Extension.js index 65516b71..79661ac5 100644 --- a/src/main/core/php/extension/Extension.js +++ b/src/main/core/php/extension/Extension.js @@ -196,8 +196,10 @@ export default class Extension { return '1.3.2' }else if (phpVersion == 7.2){ return '1.3.7' - }else if (phpVersion >= 7.3 && phpVersion < 8.2){ + }else if (phpVersion >= 7.3 && phpVersion < 8.0){ return '1.5.1' + }else{ + return '1.5.7' } } return null