Home > Backend Development > PHP Tutorial > 重构 Laravel5.2 RBAC 示例

重构 Laravel5.2 RBAC 示例

WBOY
Release: 2016-06-20 12:36:32
Original
882 people have browsed it

转载请注明:转载自 Yuansir-web菜鸟 | LAMP学习笔记

本文链接地址: 重构 Laravel5.2 RBAC 示例

Laravel5刚出来的时候写了一个 简单的Laravel RBAC的示例 ,本来是自己熟悉一下Laravel5.2写着玩的,但是发现群里的小白对于这个需求还蛮多大的,于是又重新写了了一个。

项目地址: https://github.com/yuansir/laravel5-rbac-example

安装

  • 像Laravel安装步骤一样
  • 配置 .local.env 中数据库连接信息
  • 执行 composer php artisan db:seed
  • 执行 php artisan serve
  • 默认后台账号:[email protected] 密码:admin

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template