Looking to hire Laravel developers? Try LaraJobs
This package is not available.

laravel-permission-editor maintained by lmottasin

Description
Visual UI for managing Roles/Permissions for Spatie Laravel Permission package
Last update
2024/04/26 08:13 (dev-main)
License
Links
Downloads
7

Comments
comments powered by Disqus

Laravel Permission Editor

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:

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