laraveldaily/laravel-permission-editor

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

0.0.1 2023-01-11 07:56 UTC

This package is auto-updated.

Last update: 2024-11-25 17:16:15 UTC


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
  2. Run composer require laraveldaily/laravel-permission-editor
  3. Run php artisan vendor:publish --provider="Laraveldaily\LaravelPermissionEditor\PermissionEditorServiceProvider" to publish the Assets and Config
  4. Launch /permission-editor/roles in your browser

How it looks visually:

Laravel Permission Editor

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.

More from our LaravelDaily Team