lmottasin / laravel-permission-editor
Visual UI for managing Roles/Permissions for Spatie Laravel Permission package
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:Blade
Requires
- spatie/laravel-permission: 6.7.0
README
This is a package that gives a very simple visual UI for managing roles/permissions for Spatie Laravel Permission package.
How to Use
- 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
- Run
composer require lmottasin/laravel-permission-editor
- Run
php artisan vendor:publish --provider="Lmottasin\LaravelPermissionEditor\Providers\PermissionEditorServiceProvider"
to publish the Assets and Config - 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