From 00233a60a5dcc88d87936fad2d44cb6e77521737 Mon Sep 17 00:00:00 2001 From: coolxitech Date: Tue, 29 Oct 2024 13:53:45 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E6=9B=B4=E6=96=B0=E5=88=B0ThinkPHP8"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 49335ad3473a45c6dd8078afa2c7c51aea1a338b. --- composer.json | 95 +++++++++++++++++++++++++-------------------------- vercel.json | 15 -------- 2 files changed, 47 insertions(+), 63 deletions(-) delete mode 100644 vercel.json diff --git a/composer.json b/composer.json index 9296358..3fa3e20 100644 --- a/composer.json +++ b/composer.json @@ -1,53 +1,52 @@ { - "name": "topthink/think", - "description": "the new thinkphp framework", - "type": "project", - "keywords": [ - "framework", - "thinkphp", - "ORM" - ], - "homepage": "https://www.thinkphp.cn/", - "license": "Apache-2.0", - "authors": [ - { - "name": "liu21st", - "email": "liu21st@gmail.com" + "name": "topthink/think", + "description": "the new thinkphp framework", + "type": "project", + "keywords": [ + "framework", + "thinkphp", + "ORM" + ], + "homepage": "https://www.thinkphp.cn/", + "license": "Apache-2.0", + "authors": [ + { + "name": "liu21st", + "email": "liu21st@gmail.com" + }, + { + "name": "yunwuxin", + "email": "448901948@qq.com" + } + ], + "require": { + "php": ">=8.0.0", + "topthink/framework": "^8.0", + "topthink/think-orm": "^3.0", + "topthink/think-filesystem": "^2.0", + "topthink/think-view": "^2.0", + "cccyun/think-captcha": "^3.0" }, - { - "name": "yunwuxin", - "email": "448901948@qq.com" - } - ], - "require": { - "php": ">=8.0.0", - "topthink/framework": "^8.0", - "topthink/think-orm": "^3.0", - "topthink/think-filesystem": "^2.0", - "topthink/think-view": "^2.0", - "cccyun/think-captcha": "^3.0", - "ext-pdo": "*" - }, - "require-dev": { - "symfony/var-dumper": "^4.2", - "topthink/think-trace": "^1.0", - "swoole/ide-helper": "^5.1" - }, - "autoload": { - "psr-4": { - "app\\": "app" + "require-dev": { + "symfony/var-dumper": "^4.2", + "topthink/think-trace":"^1.0", + "swoole/ide-helper": "^5.1" }, - "psr-0": { - "": "extend/" + "autoload": { + "psr-4": { + "app\\": "app" + }, + "psr-0": { + "": "extend/" + } + }, + "config": { + "preferred-install": "dist" + }, + "scripts": { + "post-autoload-dump": [ + "@php think service:discover", + "@php think vendor:publish" + ] } - }, - "config": { - "preferred-install": "dist" - }, - "scripts": { - "post-autoload-dump": [ - "@php think service:discover", - "@php think vendor:publish" - ] - } } diff --git a/vercel.json b/vercel.json deleted file mode 100644 index c8cadfd..0000000 --- a/vercel.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "version": 2, - "builds": [ - { - "src": "public/index.php", - "use": "@vercel/php" - } - ], - "routes": [ - { - "src": "/(.*)", - "dest": "public/index.php" - } - ] -}