Skip to content

laravel5.2 RBAC权限管理后台,color admin模板,前后台登录认证

License

Notifications You must be signed in to change notification settings

gygygbm/laravel-multi-auth-admin

 
 

Repository files navigation

laravel-multi-auth-admin

包含前后台登录认证以及权限管理的后台系统,模板为color admin

image1

image2

image3

说明

如果喜欢请点个star

需要color admin的朋友请群下载,Laravel开发交流群:658533928

image4

演示地址

http://laravel.ranbl.com

安装

克隆资源库

git clone https://github.com/jwwb681232/laravel-multi-auth-admin.git ./

安装依赖关系

composer install

复制配置文件

cp .env.example .env

创建新的应用程序密钥

php artisan key:generate

设置数据库

编辑.env文件

CACHE_DRIVER=array

DB_HOST=YOUR_DATABASE_HOST
DB_DATABASE=YOUR_DATABASE_NAME
DB_USERNAME=YOUR_DATABASE_USERNAME
DB_PASSWORD=YOUR_DATABASE_PASSWORD

添加自动加载

composer dump-autoload

运行数据库迁移

php artisan migrate

运行数据填充

php artisan db:seed

nginx rewrite配置

location / {
    index  index.html index.htm index.php;
    if (!-e $request_filename){
         rewrite ^/(.*)$ /index.php/$1 last;
    }
}

访问

http://xxx.com/admin

后台账号:[email protected]

后台密码:admin

About

laravel5.2 RBAC权限管理后台,color admin模板,前后台登录认证

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 58.8%
  • JavaScript 27.8%
  • CSS 10.1%
  • PHP 2.0%
  • CoffeeScript 1.1%
  • Python 0.2%