feat(mcp): 引入官方 mcp/sdk,PHP 最低版本抬升至 8.1

This commit is contained in:
augushong
2026-08-16 20:21:01 +08:00
parent 5777448d99
commit 15a6f2d841
4 changed files with 1171 additions and 15 deletions

View File

@@ -29,7 +29,7 @@
### 通用基础规范(所有开发者必须遵守)
- 技术栈ThinkPHP 8.xPHP 8.0+MySQL 5.7+Layui 2.x模板引擎ThinkPHP 内置模板引擎
- 技术栈ThinkPHP 8.xPHP 8.1+MySQL 5.7+Layui 2.x模板引擎ThinkPHP 内置模板引擎
- 命名规范(必读):[ulthon-naming-convention.md](./.agents/rules/ulthon-naming-convention.md)
- 代码风格(必读):遵循项目根目录 `.php-cs-fixer.php`
- 表结构设计规范(必读):[ulthon-scheme-definition](./.agents/skills/ulthon-scheme-definition/SKILL.md)(含特殊字段约定、字段后缀、组件类型、关联表参数)

View File

@@ -113,8 +113,8 @@ php think admin:update
## 项目特性
* 兼容PHP8.0
* 最低版本PHP8.0
* 兼容PHP8.1
* 最低版本PHP8.1
* 支持移动端表格转卡片
* 支持多款皮肤
* 标准
@@ -200,7 +200,7 @@ php think admin:update
只需要最基础的PHP开发环境即可。
- PHP8.0正确设置PATH环境变量
- PHP8.1正确设置PATH环境变量
- composer
- Mysql5.7+(开发必备)

View File

@@ -17,7 +17,7 @@
}
],
"require": {
"php": ">=8.0.0",
"php": ">=8.1.0",
"ext-json": "*",
"ext-fileinfo": "*",
"topthink/framework": "^8.0",
@@ -25,6 +25,7 @@
"topthink/think-multi-app": "^1.0",
"topthink/think-captcha": "^3.0",
"guzzlehttp/guzzle": "^7.4",
"guzzlehttp/psr7": "^2.0",
"phpoffice/phpspreadsheet": "^1.22",
"doctrine/annotations": "2.*",
"league/flysystem": "^3.0",
@@ -32,6 +33,7 @@
"overtrue/flysystem-cos": "^5.0",
"iidestiny/flysystem-oss": "^4.0",
"czproject/git-php": "^4.2",
"mcp/sdk": "^0.7",
"psr/simple-cache": ">=1.0"
},
"require-dev": {

1174
composer.lock generated

File diff suppressed because it is too large Load Diff