ifo/laravel-roles-permission-manager
最新稳定版本:v1.03
Composer 安装命令:
composer require ifo/laravel-roles-permission-manager
包简介
The ifo/Laravel roles and manager.
README 文档
README
Laravel Version : ^9
Previews
License
Usage
This is a package - it's a full Laravel project that you should use as a starter boilerplate, and then add your own custom functionality. Here in this package can create roles and manager using the classification and permission manager.
- Clone the repository with
git clone - Copy
.env.examplefile to.envand edit database credentials there - Run
composer install - Run
php artisan migrate - To run db:seed please run below command to store default permissions and users data
- Run
php artisan db:seed --class="Packages\\RoleManager\\Database\\Seeders\\DatabaseSeeder" - Go to root project public folder then Please run below symbolic link creation for pointing to package public folder
- ln -s ../vendor/ifo/laravel-roles-permission-manager/src/public role-manager
- Please add below middleware in kernal.php file inside web middleware group for registering the Auth gate middleware to api.php file
- \Packages\RoleManager\App\Http\Middleware\AuthGates::class
- Run
php artisan key:generate
With that user you can create more roles/permissions/users, and then use them in your code, by using functionality like Gate or @can, as in default Laravel.
Your will be get Login Credentials from seeder file
--- <root-project> / database / seeders / UsersTableSeeder.php
Run below url to navigate to roles manager
http://127.0.0.1:8000/ifo-roles
Notice
We are not responsible for any functionality or bugs in Monsteradmin & Others packages or their future versions, if you find bugs there - please contact vendors directly.
Credit
Author : Mahesh Babu Manikanti
Development : Mahesh Babu Manikanti
Thanks For Downloading
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-05-30