# tp5admin **Repository Path**: blueslan/tp5admin ## Basic Information - **Project Name**: tp5admin - **Description**: TP5Admin是基于thinkphp5正式版开发的一套后台管理程序 — Edit - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 6 - **Created**: 2016-11-29 - **Last Updated**: 2024-06-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README TP5Admin =================== 作者QQ:5552123(阿杜) =================== TP5Admin使用ThinkPHP5.02核心版框架开发. 其主要目的是为了提高开发效率.需要开发什么功能.后台直接添加菜单.程序里直接写控制器! > 首次使用导入数据库,后台账号admin,密码admin + 菜单管理 + 管理员分组 + 组分配权限 + 一个管理员可以属于多个组 + 操作日志管理 > 运行环境要求PHP5.4以上。 ## 虚拟机配置,需要绑定到public目录中,这样比较安全. Nginx虚拟机配置如下: ~~~ server { listen 80; server_name tp5admin.com; root "/Users/mac/wwwroot/work/tp5admin.com/public"; location / { index index.html index.htm index.php; autoindex on; if (!-e $request_filename) { ###一级目录下 rewrite ^/(.*)$ /index.php/$1 last; ###域名下的二级目录 #rewrite ^/目录名/(.*)$ /目录名/index.php/$1 last; } } location ~ \.php(.*)$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_split_path_info ^((?U).+\.php)(/?.+)$; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info; include fastcgi_params; } } ~~~ ## 参与开发 注册并登录 Github 帐号, fork 本项目并进行改动。 更多细节参阅 [CONTRIBUTING.md](CONTRIBUTING.md)