Download the PHP package betterde/role without Composer
On this page you can find all versions of the php package betterde/role. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download betterde/role
More information about betterde/role
Files in betterde/role
Download betterde/role
More information about betterde/role
Files in betterde/role
Please rate this library. Is it a good library?
Informations about the package role
使用说明
发布配置文件到项目
配置文件
文件所在目录:项目根目录下的 config/role.php
常用命令
CODE: 角色编码 NAME:角色名称 GUARD: Guard name (请差参考config/auth配置文件的guard)
自定义模型
如果需要自定义模型,只需要替换配置文件中 model
的指向,新的模型需要实现 Betterde\Role\Contracts\RoleContract
这个接口中的方法!
如果需要自定义表,只需要替换配置文件中的 table
即可!
All versions of role with dependencies
PHP Build Version
Package Version
Requires
illuminate/database Version
~5.4
illuminate/contracts Version ~5.4
illuminate/container Version ~5.4
illuminate/auth Version ~5.4
predis/predis Version ^1.1
php Version ~7.1
illuminate/contracts Version ~5.4
illuminate/container Version ~5.4
illuminate/auth Version ~5.4
predis/predis Version ^1.1
php Version ~7.1
The package betterde/role contains the following files
Loading the files please wait ....