GithubHelp home page GithubHelp logo

myxemhoho / e-admin Goto Github PK

View Code? Open in Web Editor NEW

This project forked from yeskn/e-admin

0.0 1.0 0.0 90.72 MB

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

License: MIT License

PHP 5.59% Vue 3.28% JavaScript 0.36% HTML 0.14% CSS 89.71% TypeScript 0.27% SCSS 0.66% Shell 0.01%

e-admin's Introduction


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).

e-admin's People

Contributors

rocky-git avatar stepbyfeng avatar tree-eighteen avatar m3lon3ly avatar qwe12369 avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.