定制 lmottasin/laravel-permission-editor 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

lmottasin/laravel-permission-editor

最新稳定版本:v1.0.0

Composer 安装命令:

composer require lmottasin/laravel-permission-editor

包简介

Visual UI for managing Roles/Permissions for Spatie Laravel Permission package

README 文档

README

This is a package that gives a very simple visual UI for managing roles/permissions for Spatie Laravel Permission package.

How to Use

  1. Make sure to install the spatie/laravel-permission package first and configure it
    • composer require spatie/laravel-permission
    • php artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvider"
    • php artisan migrate
  2. Run composer require lmottasin/laravel-permission-editor
  3. Run php artisan vendor:publish --provider="Lmottasin\LaravelPermissionEditor\Providers\PermissionEditorServiceProvider" to publish the Assets and Config
  4. Launch /permission-editor/roles in your browser

How it looks visually:

Screenshot 2024-04-26 at 11 32 17 AM

Notice: you may want to secure the routes by adding extra middleware like auth, you can do it in the published config/permission-editor.php file.

Importat Info

  • Do not use this package, this package is only for learning purpose

统计信息

  • 总下载量: 7
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-04-26