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" + ] + } +}