# ex-admin-thinkphp **Repository Path**: rocky-git/ex-admin-thinkphp ## Basic Information - **Project Name**: ex-admin-thinkphp - **Description**: Ex-admin-thinkphp 是一个基于Ant Design of Vue + Thinkphp 开发而成后台系统构建工具,无需关注页面模板JavaScript,只用php代码即可快速构建出一个功能完善的后台系统。 - **Primary Language**: PHP - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: https://www.ex-admin.com/ - **GVP Project**: No ## Statistics - **Stars**: 88 - **Forks**: 19 - **Created**: 2022-06-25 - **Last Updated**: 2024-08-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

Ex-Admin


Ex-Admin是一个基于Ant Design of Vue开发而成后台系统构建工具,无需关注页面模板JavaScript,只用php代码即可快速构建出一个功能完善的后台系统。。

![](https://www.ex-admin.com/img/1655645000903.png) - [中文文档](https://www.ex-admin.com/doc) - [Demo / 在线演示](https://demo.ex-admin.com) - [ex-admin-ui(github)](https://github.com/rocky-git/ex-admin-ui) - [ex-admin-ui(码云)](https://gitee.com/rocky-git/ex-admin-ui) - [官方交流群](https://jq.qq.com/?_wv=1027&k=ueqB1sVD) #### thinkphp版本 - [github](https://github.com/rocky-git/ex-admin-thinkphp) - [gitee](https://gitee.com/rocky-git/ex-admin-thinkphp) #### laravel版本 - [github](https://github.com/rocky-git/ex-admin-laravel) - [gitee](https://gitee.com/rocky-git/ex-admin-laravel) #### hyperf版本 - [github](https://github.com/rocky-git/ex-admin-hyperf) - [gitee](https://gitee.com/rocky-git/ex-admin-hyperf) #### webman版本 - [github](https://github.com/rocky-git/ex-admin-webman) - [gitee](https://gitee.com/rocky-git/ex-admin-webman) ### 特性 - 灵活的设计,支持php各种框架接入 - 后台组件面向对象编程,组件化开发 - 自定义vue页面组件,无需重新编译打包 - 注解权限RBAC的权限系统,无限极菜单 - 数据表格构建工具,内置丰富的表格常用功能(如拖拽排序、数据导出、搜索、快捷创建、批量操作等) - 数据表单构建工具,分步表单构建工具,内置丰富的表单类型,表单watch,表单互动 - 数据详情页构建工具 - 支持自定义图表 ### 安装 首先需要安装 thinkphp 框架,如已安装可以跳过此步骤。如果您是第一次使用 thinkphp,请务必先阅读文档 安装《thinkphp 6 中文文档》 ! ``` composer create-project topthink/think 项目名称 ``` 安装完 thinkphp 之后需要修改.env 文件,设置数据库连接设置正确 ``` TYPE = mysql HOSTNAME = 127.0.0.1 DATABASE = tp USERNAME = root PASSWORD = HOSTPORT = 3306 ``` 安装 ex-admin ``` cd {项目名称} composer require rockys/ex-admin-thinkphp ``` 然后运行下面的命令完成安装: ``` php think admin:install ``` 启动服务后,在浏览器打开 http://localhost/admin,使用用户名 admin 和密码 admin 登陆 ----------------------------------- ### Apache ``` Options +FollowSymlinks -Multiviews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L] ``` 另外apache默认是没有开启Authorization请求头的,需要在 `httpd.conf` 配置以下规则 ```dotenv // 路径举例:D:\phpstudy_pro\Extensions\Apache2.4.39\conf // 在httpd.conf搜索 IfModule dir_module 新增SefEnvIf这一行 DirectoryIndex index.php index.html SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0 ``` ### Nginx ``` location / { if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=/$1 last; break; } } ``` ### 鸣谢 `Ex-Admin` 基于以下组件: + [ThinkPhP](http://www.thinkphp.cn/) + [Element Plus](https://element-plus.gitee.io/) + [Ant Design Vue](https://www.antdv.com) + [Vue3](https://cn.vuejs.org/) + [font-awesome](http://fontawesome.io) + [echarts](https://echarts.apache.org/) + [simple-uploader.js](https://github.com/simple-uploader/Uploader) + [tinymce](https://www.tiny.cloud/) + [sortablejs](http://www.sortablejs.com/) ### License ------------ Ex-Admin遵循Apache2开源协议发布,并提供免费使用 ### 交流QQ群 579150457 ![](https://www.ex-admin.com/storage/qq_team.png) ### 捐赠