mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2026-06-07 04:28:11 +08:00
将 v6 中直接放在本地 app 的后台与微信能力迁移为 v8 插件组件,并把运行时基础能力沉淀到独立插件包。 主要内容: - 新增 think-library、system、worker、static、install 等基础插件包。 - 新增 account、payment、wechat-client、wechat-service、wemall、wuma 等业务插件包。 - 移除 v6 的 app/admin 与 app/wechat 本地应用实现,改由插件分发接管。 - 将 Helper 能力彻底并入 System,统一为 plugin\system\helper\* 命名空间。 - 同步插件迁移发布清单与根 route 占位,保证安装发布流程可复现。
70 lines
1.9 KiB
JSON
70 lines
1.9 KiB
JSON
{
|
||
"type": "think-admin-plugin",
|
||
"name": "zoujingli/think-plugs-worker",
|
||
"version": "8.0.x-dev",
|
||
"license": "Apache-2.0",
|
||
"homepage": "https://thinkadmin.top",
|
||
"description": "Standard HTTP, queue, and cross-platform process manager for ThinkAdmin",
|
||
"authors": [
|
||
{
|
||
"name": "Anyon",
|
||
"email": "zoujingli@qq.com"
|
||
}
|
||
],
|
||
"require": {
|
||
"php": "^8.1",
|
||
"symfony/process": "^6.0|^7.0",
|
||
"workerman/workerman": "^5.1.9",
|
||
"zoujingli/think-library": "^8.0"
|
||
},
|
||
"require-dev": {
|
||
"phpunit/phpunit": "^10.0"
|
||
},
|
||
"autoload": {
|
||
"files": [
|
||
"src/common.php"
|
||
],
|
||
"psr-4": {
|
||
"plugin\\worker\\": "src"
|
||
}
|
||
},
|
||
"autoload-dev": {
|
||
"psr-4": {
|
||
"plugin\\worker\\tests\\": "tests/"
|
||
}
|
||
},
|
||
"extra": {
|
||
"think": {
|
||
"services": [
|
||
"plugin\\worker\\Service"
|
||
]
|
||
},
|
||
"xadmin": {
|
||
"migrate": {
|
||
"file": "20241010000008_install_worker20241010.php",
|
||
"class": "InstallWorker20241010",
|
||
"name": "WorkerPlugin"
|
||
},
|
||
"publish": {
|
||
"copy": {
|
||
"stc/worker.php": "config/worker.php"
|
||
}
|
||
},
|
||
"app": {
|
||
"name": "运行时服务",
|
||
"document": "https://thinkadmin.top/plugin/think-plugs-worker.html",
|
||
"description": "提供 HTTP、队列和跨平台进程管理能力,统一托管 ThinkAdmin 常驻进程服务。",
|
||
"license": [
|
||
"Apache-2.0"
|
||
],
|
||
"code": "worker",
|
||
"prefix": "worker"
|
||
}
|
||
}
|
||
},
|
||
"minimum-stability": "dev",
|
||
"config": {
|
||
"sort-packages": true
|
||
}
|
||
}
|