From 105d24ce11750c51149dadcb9a38282d1a010eb6 Mon Sep 17 00:00:00 2001 From: hdm Date: Sun, 12 Jun 2022 18:49:44 +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 | 53 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 55 insertions(+), 2 deletions(-) create mode 100644 composer.php8.json diff --git a/composer.json b/composer.json index 3dace59..03e222a 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" }, "require-dev": { "symfony/var-dumper": "^4.2", diff --git a/composer.php8.json b/composer.php8.json new file mode 100644 index 0000000..00f090e --- /dev/null +++ b/composer.php8.json @@ -0,0 +1,53 @@ +{ + "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" + }, + "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" + ] + } +}