sa-arash/rolehelper
最新稳定版本:v1
Composer 安装命令:
composer require sa-arash/rolehelper
包简介
If you need to change the main text of your rolls, then this package will help you
README 文档
README
If you need to change the main text of your rols, then this package will help you
STEP 1 :
composer require sa-arash/rolehelper
STEP 2 : add PROVIDERS and FACADES in config/app.php
'providers' => ServiceProvider::defaultProviders()->merge([
......
SaArash\Rolehelper\roleHelperProvider::class,
])->toArray(),
'aliases' => Facade::defaultAliases()->merge([
......
'RoleHelper'=> SaArash\Rolehelper\Facades\roleFacad::class,
])->toArray(),
STEP 3 :
php artisan vendor:publish --tag=RoleHelper
Now you can define your role in config/roleHelper.php and use this :
{{ RoleHelper::convert($role) }}
统计信息
- 总下载量: 2
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-02-01