sinarajabpour1998/acl-manager
Composer 安装命令:
composer require sinarajabpour1998/acl-manager
包简介
This package provides access control list and user manager in laravel apps.
README 文档
README
This package provides access control list and user manager for laravel apps.
Installation
Using Composer :
composer require sinarajabpour1998/acl-manager
packagist : acl-manager
Usage
- Change the user modal namespace to laratrust config
(located in
/config/laratrust.php) inuser_modelssection :
'user_models' => [ 'users' => 'App\Models\User', ],
- Publish blade files
php artisan vendor:publish --tag=acl-manager
** Please note if you already published the vendor, for updates you can run the following command :
php artisan vendor:publish --tag=acl-manager --force
- Add the following tag in your sidebar layout :
<x-acl-menu></x-acl-menu>
or shorten tag :
<x-acl-menu />
Config options
You can set custom permissions for each section of this package. make sure that you already specified permissions in a seeder.
ChangeLog
统计信息
- 总下载量: 29
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-08-31