From 1e50d786269940a1ae4a7f8f50a5afc2375b8080 Mon Sep 17 00:00:00 2001 From: hdm Date: Sun, 12 Jun 2022 18:41:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0composer=E5=8C=85=EF=BC=8Cphp?= =?UTF-8?q?8.0=E7=89=88=E7=9A=84=E7=8E=AF=E5=A2=83=E7=94=A8composer.php8.j?= =?UTF-8?q?son=E6=9B=BF=E6=8D=A2composer.json=E5=90=8E=E5=86=8D=E5=AE=89?= =?UTF-8?q?=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- composer.json | 4 ++-- composer.php8.json | 54 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+), 2 deletions(-) create mode 100644 composer.php8.json diff --git a/composer.json b/composer.json index 8e53c92..b180408 100644 --- a/composer.json +++ b/composer.json @@ -26,8 +26,8 @@ "topthink/think-multi-app": "^1.0", "topthink/think-view": "^1.0", "topthink/think-captcha": "^3.0", - "phpmailer/phpmailer": "^6.3", - "lcobucci/jwt": "3.3.3", + "phpmailer/phpmailer": "^6.6", + "lcobucci/jwt": "^3.4", "overtrue/pinyin": "^4.0" }, "require-dev": { diff --git a/composer.php8.json b/composer.php8.json new file mode 100644 index 0000000..a0aed96 --- /dev/null +++ b/composer.php8.json @@ -0,0 +1,54 @@ +{ + "name": "topthink/think", + "description": "the new thinkphp framework", + "type": "project", + "keywords": [ + "framework", + "thinkphp", + "ORM" + ], + "homepage": "http://thinkphp.cn/", + "license": "Apache-2.0", + "authors": [ + { + "name": "liu21st", + "email": "liu21st@gmail.com" + }, + { + "name": "yunwuxin", + "email": "448901948@qq.com" + } + ], + "require": { + "php": ">=8.0", + "topthink/framework": "^6.0.0", + "topthink/think-orm": "^2.0", + "topthink/think-multi-app": "^1.0", + "topthink/think-view": "^1.0", + "topthink/think-captcha": "^3.0", + "phpmailer/phpmailer": "^6.6", + "lcobucci/jwt": "^4.1", + "overtrue/pinyin": "^4.0" + }, + "require-dev": { + "symfony/var-dumper": "^4.2", + "topthink/think-trace":"^1.0" + }, + "autoload": { + "psr-4": { + "app\\": "app" + }, + "psr-0": { + "": "extend/" + } + }, + "config": { + "preferred-install": "dist" + }, + "scripts": { + "post-autoload-dump": [ + "@php think service:discover", + "@php think vendor:publish" + ] + } +}