live-controls / groups
There is no license information available for the latest version (v1.2.5) of this package.
Groups library for live-controls
v1.2.5
2023-11-23 23:10 UTC
Requires
Requires (Dev)
README
Add groups to your users
Requirements
- Laravel 8.0+
- PHP 8.0+
- LiveControls\Permissions (Will be automatically included if not installed already)
Translations
None
Installation
composer require live-controls/groups
Setup
Set administrator groups (default is group with key 'admin')
- Run in console:
php artisan vendor:publish --tag="livecontrols.groups.config"
- Open /config/livecontrols_groups.php
- Change line "usergroups_admins" to an array of UserGroup keys
Autogenerate groups
- Run in console:
php artisan vendor:publish --tag="livecontrols.groups.config"
- Open /config/livecontrols_groups.php
- Change line "usergroups_to_generate" to an array of UserGroups (See file for more informations)
- Run in console:
php artisan livecontrols:creategroups
Usage
Todo