GithubHelp home page GithubHelp logo

iszmxw / basics Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 11.76 MB

基础项目,集合了后台账号登录创建,操作日志,菜单管理,权限管理等基础功能,在这里整理一下,以免每次重复进行相同的工作

PHP 58.29% Vue 0.01% Shell 0.04% Blade 2.40% CSS 0.29% JavaScript 38.94% SCSS 0.01%

basics's Introduction

Build Status Total Downloads Latest Stable Version License

About 用户权限基础系统

用户权限基础系统采用的是laravel框架进行编写的

Laravel Framework 5.5.46

项目采用了以下依赖包

    {
        "guzzlehttp/guzzle": "^6.3",
        "alibabacloud/sdk": "^1.6",
        "iidestiny/laravel-filesystem-oss": "^1.2",
        "predis/predis": "^1.1",
        "rap2hpoutre/laravel-log-viewer": "^1.1",
        "barryvdh/laravel-ide-helper": "^2.6",
        "iszmxw/ip-address": "dev-master"
    }

目录结构

主要使用的到的目录结构如下:

www                     WEB部署目录(或者子目录)
├─app                   应用目录
│  ├─Console            公共模块目录(可以更改)
│  │  ├─Commands        Command命令(可以自定义php artiasn命令)
│  │  ├─Kernel.php      在文件中可以调用自定义命令
│  ├─Exceptions         
│  ├─Http               网络请求目录
│  │  ├─Controllers     控制器目录
│  │  ├─Middleware      中间件目录
│  │  ├─Requests        表单请求验证目录
│  │  └─Kernel.php      中间件核心,用于控制中间件的注册和分组
│  │
│  ├─Library            自定义Library仓库可以删除,不属于框架
│  ├─Models             数据库模型文件
│  ├─Providers          服务
│  └─User.php           系统自带的用户模型
│
├─bootstrap             bootstrap
├─config                系统配置目录
├─database              数据迁移功能相关目录
├─public                WEB目录(对外访问目录)
├─resources             静态资源目录
├─routes                系统路由存放位置
├─storage               框架缓存位置
├─tests                 矿国家测试目录
├─vendor                vendor目录用于存放composer仓管库的所有依赖包
├─.env                  正式=>服务器读取的配置文件
├─.env.develop          测试=>服务器读取的配置文件
├─.env.example          系统示例配置文件
├─.gitattributes        自动生成定义文件(参考)
├─.gitignore            git忽略配置文件
├─_ide_helper.php       相当于函数助手
├─artisan               artisan
├─composer.json         项目的composer管理配置文件

项目说明

基础项目,集合了后台账号登录创建,操作日志,菜单管理,权限管理等基础功能,在这里整理一下,以免每次重复进行相同的工作

克隆项目

git clone https://github.com/iszmxw/Basics.git
cd Basics
composer install

编辑数据库配置信息

vim .env
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=basics_test
DB_USERNAME=basics_test
DB_PASSWORD=basics_test
DB_PREFIX=xw_

最后导入数据库文件到数据库(basics_test.sql)

后台截图

avatar avatar avatar avatar avatar avatar avatar

Author微信

avatar

basics's People

Contributors

iszmxw avatar

Stargazers

 avatar  avatar  avatar

Watchers

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