hyperf-vue-cms

github地址

2.x版本更新

2.x版本基于hyperf2.x版本开发,2.x版本和1.x版本不兼容

2.x版本修复若干bug、优化代码

综合考虑开发便捷性、项目规模,2.x版本去掉了json-rpc层,将 txf-admin 合入 txf-server ,简化项目

介绍

基于 hyperf + vue-manage-system 开发的后台管理系统。

预览地址 账号: 13000000000 密码: 111111

测试账号只有浏览权限,不会因为登录失败次数过多而禁止登录

hyperf 基于 swoole 的php框架。

vue-manage-system 基于 vue + element-ui 的后台模板。

项目目前只包含一些基础功能 登录员工管理角色管理权限管理导入导出等。以及一些常用的中间件 日志跨域限频权限认证参数过滤参数验证上传处理等。

你可以基于此直接开发你想要的功能,如: 内容管理商品管理订单管理等。

最新版本项目分为 txf-clienttxf-server 两块。

txf-client 客户端,使用 vue-manage-system 开发。

txf-server 服务端,使用 hyperf 开发。

安装

# npm使用淘宝镜像
npm install -g cnpm --registry=https://registry.npm.taobao.org

# composer使用阿里云镜像
composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/

# 安装客户端
cd txf-client
cnpm install

# 安装服务端
cd txf-server
composer install

# 初始化数据库
根据 .env文件配置 将 txf-server/init_sql.sql 导入到数据库

运行

# 启动客户端,默认监听 127.0.0.1:8080
# 指定端口 npm run serve -- --port 8000
cd txf-client
npm run serve

# 启动服务端,默认监听 127.0.0.1:9505
cd txf-server
php bin/hyperf.php start

使用

# 浏览器打开 http://127.0.0.1:8080

# 默认账号
13888888888

# 默认密码
123456

results matching ""

    No results matching ""