升级框架及稳定依赖,修复路由、鉴权、种子、动态属性和 PHP 8.5 弃用问题。 固化 ThinkCaptcha 和 ORM 的 PHP 8.5 兼容补丁;Composer 安装会自动应用并由 patches.lock.json 锁定。 验证:45 条迁移、依赖校验与安全审计、验证码 PNG 响应及关键页面/API 回归通过。
67 lines
1.8 KiB
JSON
Executable File
67 lines
1.8 KiB
JSON
Executable File
{
|
|
"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"
|
|
}
|
|
],
|
|
"require": {
|
|
"php": "^8.2",
|
|
"topthink/framework": "^8.1",
|
|
"topthink/think-orm": "^4.0",
|
|
"topthink/think-multi-app": "^1.1",
|
|
"topthink/think-view": "^2.0",
|
|
"topthink/think-template": "^3.0",
|
|
"topthink/think-captcha": "^3.0",
|
|
"cweagans/composer-patches": "^2.0",
|
|
"whitehat101/apr1-md5": "^1.0",
|
|
"liliuwei/thinkphp-jump": "^2.1",
|
|
"topthink/think-migration": "^3.1",
|
|
"topthink/think-filesystem": "^3.0",
|
|
"overtrue/pinyin": "^4.0",
|
|
"liliuwei/thinkphp-auth": "^2.1",
|
|
"phpoffice/phpspreadsheet": "^5.10"
|
|
},
|
|
"require-dev": {
|
|
"symfony/var-dumper": "^8.1",
|
|
"topthink/think-trace":"^2.0"
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"app\\": "app"
|
|
}
|
|
},
|
|
"config": {
|
|
"preferred-install": "dist",
|
|
"allow-plugins": {
|
|
"cweagans/composer-patches": true
|
|
}
|
|
},
|
|
"extra": {
|
|
"patches": {
|
|
"topthink/think-captcha": {
|
|
"Avoid deprecated GD image destruction on PHP 8.5": "patches/think-captcha-php85-gd.patch"
|
|
},
|
|
"topthink/think-orm": {
|
|
"Handle null belongs-to keys without deprecated offsets": "patches/think-orm-php85-null-belongs-to.patch"
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"post-autoload-dump": [
|
|
"@php think service:discover",
|
|
"@php think vendor:publish"
|
|
]
|
|
}
|
|
}
|