1 Star 0 Fork 16

weilian000 / E-admin

forked from 2733284198 / E-admin 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README
MIT

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

功能特性

  • 后台组件面向对象编程,组件化开发
  • 自定义vue页面组件,无需重新编译打包
  • 注解权限BAC的权限系统,无限极菜单
  • 页面组件url复用
  • 数据表格构建工具,内置丰富的表格常用功能(如拖拽排序、数据导出、搜索、快捷创建、批量操作等)
  • 数据表单构建工具,分步表单构建工具,内置丰富的表单类型,表单watch,表单互动
  • 数据详情页构建工具
  • 支持自定义图表
  • 支持本地和七牛云、oss文件上传

环境

  • PHP >= 7.1.0
  • ThinkPhP 6.0
  • Fileinfo PHP Extension

安装

首先需要安装ThinkPhP框架,如已安装可以跳过此步骤。如果您是第一次使用ThinkPhP,请务必先阅读文档 安装 《ThinkPhP中文文档》

composer create-project topthink/think tp
# 或
composer create-project topthink/think=6.0.x-dev tp

安装完ThinkPhP之后需要修改.env文件,设置数据库连接设置正确

[DATABASE]
TYPE = mysql
DRIVER = mysql
HOSTNAME = 127.0.0.1
DATABASE = tp6
USERNAME = root
PASSWORD = root
HOSTPORT = 3306
CHARSET = utf8mb4

安装e-admin

cd {项目名称}

composer require rockys/e-admin

然后运行下面的命令来安装:

php think eadmin:install

强制重新安装:

php think admin:install -f

phpstudy的apache环境需要配置验证token,默认关闭

// 路径举例:D:\phpstudy_pro\Extensions\Apache2.4.39\conf
// 在httpd.conf搜索 IfModule dir_module 新增SefEnvIf这一行

<IfModule dir_module>
    DirectoryIndex index.php index.html
    SetEnvIf Authorization .+ HTTP_AUTHORIZATION=$0
</IfModule>

启动服务后,在浏览器打开 http://localhost/admin,使用用户名 admin 和密码 admin登陆。

鸣谢

E-admin 基于以下组件:

License


e-admin is licensed under The MIT License (MIT).

MIT License Copyright (c) 2021 rocky Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

简介

E-admin是一个基于Element Plus开发而成后台系统构建工具,无需关注页面模板JavaScript,只用php代码即可快速构建出一个功能完善的后台系统 展开 收起
PHP
MIT
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
PHP
1
https://gitee.com/weilian-000/eadmin.git
git@gitee.com:weilian-000/eadmin.git
weilian-000
eadmin
E-admin
2.1

搜索帮助