mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2026-06-07 04:28:11 +08:00
将 v8 分支需要的仓库级配置、Composer 依赖、CI 脚本和入口文件一次性整理到目标仓库。 主要内容: - 更新 composer.json,切换到 v8 插件化依赖与本地 path 仓库。 - 同步 .gitignore、代码风格、发布脚本和 GitHub Actions 配置。 - 调整 config、think、public 入口和默认 index 控制器以适配 v8 运行结构。 - 清理 v6 遗留的根级 license/security 文件,由组件文档和仓库说明统一承载。
137 lines
3.0 KiB
JSON
137 lines
3.0 KiB
JSON
{
|
|
"type": "project",
|
|
"name": "zoujingli/thinkadmin",
|
|
"license": "MIT",
|
|
"homepage": "https://thinkadmin.top",
|
|
"description": "Application Development Framework",
|
|
"keywords": [
|
|
"ThinkAdmin",
|
|
"ThinkLibrary",
|
|
"WeChatDeveloper"
|
|
],
|
|
"authors": [
|
|
{
|
|
"name": "Anyon",
|
|
"email": "zoujingli@qq.com"
|
|
}
|
|
],
|
|
"autoload": {
|
|
"psr-4": {
|
|
"app\\": "app/"
|
|
}
|
|
},
|
|
"require": {
|
|
"php": "^8.1",
|
|
"ext-gd": "*",
|
|
"ext-json": "*",
|
|
"ext-openssl": "*",
|
|
"topthink/framework": "^8.1",
|
|
"topthink/think-orm": "^4.0",
|
|
"workerman/workerman": "^5.1.9",
|
|
"zoujingli/think-plugs-account": "^8.0",
|
|
"zoujingli/think-plugs-builder": "^8.0",
|
|
"zoujingli/think-plugs-install": "^8.0",
|
|
"zoujingli/think-plugs-payment": "^8.0",
|
|
"zoujingli/think-plugs-system": "^8.0",
|
|
"zoujingli/think-plugs-wechat-client": "^8.0",
|
|
"zoujingli/think-plugs-wechat-service": "^8.0",
|
|
"zoujingli/think-plugs-wemall": "^8.0",
|
|
"zoujingli/think-plugs-worker": "^8.0",
|
|
"zoujingli/think-plugs-wuma": "^8.0"
|
|
},
|
|
"require-dev": {
|
|
"friendsofphp/php-cs-fixer": "^3.0",
|
|
"phpunit/phpunit": "^9.5|^10.0",
|
|
"phpstan/phpstan": "^2.0"
|
|
},
|
|
"scripts": {
|
|
"sync": [
|
|
"php-cs-fixer fix",
|
|
"@composer analyse"
|
|
],
|
|
"rewrite-model": [
|
|
"@php think xadmin:helper:model --reset",
|
|
"php-cs-fixer fix"
|
|
],
|
|
"database:publish": [
|
|
"@php think xadmin:publish"
|
|
],
|
|
"database:migrate": [
|
|
"@php think xadmin:publish --migrate"
|
|
],
|
|
"build:phar": [
|
|
"@database:publish",
|
|
"@php -d phar.readonly=0 think xadmin:builder --name=admin.phar"
|
|
],
|
|
"test:smoke": [
|
|
"php tests/smoke/plugin_refactor_smoke.php"
|
|
],
|
|
"test:unit": [
|
|
"vendor/bin/phpunit -c phpunit.xml.dist"
|
|
],
|
|
"test": [
|
|
"@test:smoke",
|
|
"@test:unit"
|
|
],
|
|
"analyse": "phpstan analyse --memory-limit 2G -c phpstan.neon ./app ./config ./plugin"
|
|
},
|
|
"repositories": [
|
|
{
|
|
"type": "path",
|
|
"url": "plugin/think-plugs-wuma"
|
|
},
|
|
{
|
|
"type": "path",
|
|
"url": "plugin/think-plugs-install"
|
|
},
|
|
{
|
|
"type": "path",
|
|
"url": "plugin/think-plugs-builder"
|
|
},
|
|
{
|
|
"type": "path",
|
|
"url": "plugin/think-plugs-worker"
|
|
},
|
|
{
|
|
"type": "path",
|
|
"url": "plugin/think-plugs-wechat-client"
|
|
},
|
|
{
|
|
"type": "path",
|
|
"url": "plugin/think-plugs-wechat-service"
|
|
},
|
|
{
|
|
"type": "path",
|
|
"url": "plugin/think-plugs-system"
|
|
},
|
|
{
|
|
"type": "path",
|
|
"url": "plugin/think-plugs-account"
|
|
},
|
|
{
|
|
"type": "path",
|
|
"url": "plugin/think-plugs-payment"
|
|
},
|
|
{
|
|
"type": "path",
|
|
"url": "plugin/think-plugs-wemall"
|
|
},
|
|
{
|
|
"type": "path",
|
|
"url": "plugin/think-plugs-static"
|
|
},
|
|
{
|
|
"type": "path",
|
|
"url": "plugin/think-library"
|
|
}
|
|
],
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true,
|
|
"config": {
|
|
"allow-plugins": {
|
|
"zoujingli/think-plugs-install": true
|
|
},
|
|
"sort-packages": true
|
|
}
|
|
}
|