Coder Social home page Coder Social logo

liulipeng / yii2-app-advanced Goto Github PK

View Code? Open in Web Editor NEW
132.0 24.0 69.0 8.82 MB

系统基于Yii2框架开发的Admin系统,保留框架原有的特性,适合作为Yii2二次开发的基础系统,也可以直接拿来作为后台Admin系统。

Home Page: http://www.izyue.com

License: Other

PHP 5.01% CSS 6.80% HTML 45.80% JavaScript 40.83% ActionScript 0.19% Shell 0.12% Go 0.16% Python 0.13% Makefile 0.01% CoffeeScript 0.93% Batchfile 0.02%

yii2-app-advanced's Introduction

Yii2 高级模板,配置的后台样式

Latest Stable Version Total Downloads License Daily Downloads

作者博客

https://www.izyue.com/yii2-admin

简介

系统基于yii2.0框架开发,保留框架原有的特性,适合作为二次开发的基础系统,也可以直接拿来作为后台系统。管理系统的模块在不断完善中,现有的功能包含,完整的RBAC权限管理~

功能

  1. 基础功能:登录,登出,密码修改等常见的功能

  2. 菜单配置:可视化配置菜单,可以根据配置用户的权限显示隐藏菜单

  3. 权限机制:角色、权限增删改查,以及给用户赋予角色权限

  4. 规则机制:除了权限角色之外有规则机制,即可以给对应的权限配置规则

  5. 二次开发:完全可以基于该系统做二次开发,开发一套适合自己的后台管理系统,节约权限控制以及部分基础功能开发的时间成本,后台系统开发的不二之选

  6. 持续更新:新的功能模块会持续更新,请关注

###安装

1. 安装/izyue/Yii2模板


php composer.phar global require "fxp/composer-asset-plugin:~1.1.1"
php composer.phar create-project --prefer-dist izyue/yii2-app-advanced advanced

2. 安装Composer


composer install

3. 导入表结构(migration)


需要顺序执行

  • 导入rbac migration
yii migrate --migrationPath=@yii/rbac/migrations
  • 导入admin migration
yii migrate --migrationPath=@izyue/admin/migrations

后台登录密码


User: admin
Password: @newsnow.com.cn@

Admin源码

源码点这里

预览

登录

首页

权限管理

角色管理

路由管理

菜单管理

DIRECTORY STRUCTURE

common
    config/              contains shared configurations
    mail/                contains view files for e-mails
    models/              contains model classes used in both backend and frontend
console
    config/              contains console configurations
    controllers/         contains console controllers (commands)
    migrations/          contains database migrations
    models/              contains console-specific model classes
    runtime/             contains files generated during runtime
backend
    assets/              contains application assets such as JavaScript and CSS
    config/              contains backend configurations
    controllers/         contains Web controller classes
    models/              contains backend-specific model classes
    runtime/             contains files generated during runtime
    views/               contains view files for the Web application
    web/                 contains the entry script and Web resources
frontend
    assets/              contains application assets such as JavaScript and CSS
    config/              contains frontend configurations
    controllers/         contains Web controller classes
    models/              contains frontend-specific model classes
    runtime/             contains files generated during runtime
    views/               contains view files for the Web application
    web/                 contains the entry script and Web resources
    widgets/             contains frontend widgets
vendor/                  contains dependent 3rd-party packages
environments/            contains environment-based overrides
tests                    contains various tests for the advanced application
    codeception/         contains tests developed with Codeception PHP Testing Framework

yii2-app-advanced's People

Contributors

liulipeng avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

yii2-app-advanced's Issues

新增加 角色 和 权限 都报错误,

Missing argument 1 for izyue\admin\models\AuthItem::find(), called in ***/vendor/yiisoft/yii2/validators/UniqueValidator.php on line 210 and defined
希望看到能够修复,

当我添加一个用户再删除他时,报错了

当我添加一个用户再删除他时,报错了
Error
Call to undefined method izyue\admin\components\MenuHelper::invalidate()

  1. in F:\www\2017\muxin\vendor\izyue\yii2-admin\controllers\AssignmentController.php

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.