# hcare-admin **Repository Path**: zrktech/hcare-admin ## Basic Information - **Project Name**: hcare-admin - **Description**: 后台----上课客服号 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-07-18 - **Last Updated**: 2025-10-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README [![php](https://img.shields.io/badge/php-%3E=8.1.0-brightgreen.svg?maxAge=2592000)](https://www.php.net/) [![MySQL](https://img.shields.io/badge/mysql-%3E=5.7-brightgreen.svg?maxAge=2592000&color=blue)](https://www.mysql.com/) [![webman](https://img.shields.io/badge/webman-%3E=1.5.0-brightgreen.svg?maxAge=2592000)](https://www.workerman.net/doc/webman/) [![layui](https://img.shields.io/badge/layui-%3E=2.9.0-brightgreen.svg?maxAge=2592000&color=critical)](https://layui.dev/) [![License](https://img.shields.io/badge/license-MIT-green?maxAge=2592000&color=yellow)](LICENSE) ## 目录结构 ``` . ├── app # 应用目录 │ ├── controller # 控制器目录 │ ├── model # 模型目录 │ ├── view # 视图目录 │ ├── middleware # 中间件目录 │ │ └── StaticFile.php # 自带静态文件中间件 │ ├── process # 自定义进程目录 │ │ ├── Http.php # Http进程 │ │ └── Monitor.php # 监控进程 │ └── functions.php # 业务自定义函数写到这个文件里 ├── config # 配置目录 │ ├── app.php # 应用配置 │ ├── autoload.php # 这里配置的文件会被自动加载 │ ├── bootstrap.php # 进程启动时onWorkerStart时运行的回调配置 │ ├── container.php # 容器配置 │ ├── dependence.php # 容器依赖配置 │ ├── database.php # 数据库配置 │ ├── exception.php # 异常配置 │ ├── log.php # 日志配置 │ ├── middleware.php # 中间件配置 │ ├── process.php # 自定义进程配置 │ ├── redis.php # redis配置 │ ├── route.php # 路由配置 │ ├── server.php # 端口、进程数等服务器配置 │ ├── view.php # 视图配置 │ ├── static.php # 静态文件开关及静态文件中间件配置 │ ├── translation.php # 多语言配置 │ └── session.php # session配置 ├── public # 静态资源目录 ├── runtime # 应用的运行时目录,需要可写权限 ├── start.php # 服务启动文件 ├── vendor # composer安装的第三方类库目录 └── support # 类库适配(包括第三方类库) ├── Request.php # 请求类 ├── Response.php # 响应类 └── bootstrap.php # 进程启动后初始化脚本 ``` ## 安装教程 > EasyAdmin8-webman 使用 Composer 来管理项目依赖。因此,在使用 EasyAdmin8-webman 之前,请确保你的机器已经安装了 Composer。 ### 通过一键安装命令 ``` if [ -f /usr/bin/curl ];then curl -sSO https://easyadmin8.top/auto-install-EasyAdmin8-webman.sh;else wget -O auto-install-EasyAdmin8-webman.sh https://easyadmin8.top/auto-install-EasyAdmin8-webman.sh;fi;bash auto-install-EasyAdmin8-webman.sh ``` ### 通过`git`下载安装包,`composer`安装依赖包 ``` 1.下载安装包 git clone https://gitee.com/zrktech/hcare-admin.git 2.安装依赖包(确保 PHP 版本 >= 8.1) 在根目录下 composer install ,如果有报错信息可以使用命令 composer install --ignore-platform-reqs 3.拷贝 .example.env 文件重命名为 .env ,命令 cp .example.env .env ,修改数据库账号密码参数 4.命令启动(php start.php start 或者 php start.php start -d) 详细启动配置区别请点击:https://www.workerman.net/doc/webman/install.html#2.%20%E8%BF%90%E8%A1%8C ``` ## CURD命令大全 > 参考 [CURD命令大全](CURD.md) ## 配置自定义域名 > 参考 [自定义域名配置](CUSTOM_DOMAIN.md) ## 界面预览 ![](public/static/common/images/easyadmin8-01.png) ## 相关文档 * [webman](https://www.workerman.net/doc/webman/README.html) * [EasyAdmin](http://easyadmin.99php.cn/docs) * [Layui 2.8.x](https://layui.dev/docs/2.8/) * [Layuimini](https://github.com/zhongshaofa/layuimini) * [Annotations](https://github.com/doctrine/annotations) * [Jquery](https://github.com/jquery/jquery) * [RequireJs](https://github.com/requirejs/requirejs) * [CKEditor](https://github.com/ckeditor/ckeditor4) * [Echarts](https://github.com/apache/incubator-echarts) * [UEditorPlus](https://github.com/modstart-lib/ueditor-plus)