simplysamin/laravel-permission-editor
最新稳定版本:1.0.0
Composer 安装命令:
composer require simplysamin/laravel-permission-editor
包简介
Assign roles and permissions visually using the Spatie Laravel Permission package
README 文档
README
This package offers a visual interface to manage roles and permissions within your Laravel application, built on top of the Spatie Laravel Permission package.
Key Features
- Effortlessly manage roles and permissions through a visual interface
- No coding required
- Quick setup and integration
- Streamline user access control
Getting Started
-
Install Spatie Laravel Permission:
- Follow the instructions to install and configure the Spatie Laravel Permission package in your project.
-
Install Laravel Permission Editor:
-
Run the following command in your terminal:
composer require simplysamin/laravel-permission-editor
-
-
Publish Assets and Config:
-
Run this command to make the package's resources available:
php artisan vendor:publish --provider="Simplysamin\LaravelPermissionEditor\PermissionEditorServiceProvider"
-
-
Access the Interface:
- Open your browser and navigate to
/permission-editor/rolesto start managing roles and permissions.
- Open your browser and navigate to
Security Tip
- Consider adding authentication middleware (like
auth) to protect the routes within the publishedconfig/permission-editor.phpfile.
统计信息
- 总下载量: 236
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-01-07