Download the PHP package laraveldaily/laravel-permissions-ui without Composer
On this page you can find all versions of the php package laraveldaily/laravel-permissions-ui. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download laraveldaily/laravel-permissions-ui
More information about laraveldaily/laravel-permissions-ui
Files in laraveldaily/laravel-permissions-ui
Package laravel-permissions-ui
Short Description A Laravel package for adding UI for spatie/Laravel-permission package.
License MIT
Homepage https://github.com/LaravelDaily/laravel-permission-ui
Informations about the package laravel-permissions-ui
Laravel Permission UI
Status update: package idea abandoned.
Unfortunately, it's not possible/easy to build this package as flexible as I was expecting, with different layouts for Tailwind/Bootstrap/whatever and auto-implementing all Spatie package features for all possible cases. So I decided not to pursue this idea further and focus on other projects.
This package will create a simple Dashboard for managing roles/permissions based on the spatie/laravel-permission package.
Notice: this is a very early version of the package, may be buggy. Please report issues.
Installation
First, before installing this package, you need to have the spatie/laravel-permission
installed and configured.
Go to yourdomain.com/permissions
and you should see a simple dashboard with three menu items on top: to manage roles, permissions and assign them to users.
That dashboard is by default protected by the auth
middleware, but you can configure it, by publishing the config:
And then edit the values in config/permission_ui.php
:
The visual design is based on simple Tailwind classes. At the moment, no visual customization options are available, but we may add them in the future, based on your ideas and feedback.
Publishing translations
If you wish to translate the package, you may publish the language files using:
Testing
To run the package's unit tests, run the following command: