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

This package is auto-updated.

Last update: 2024-10-24 01:09:42 UTC


README

Release Version Packagist Version

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')

  1. Run in console:
php artisan vendor:publish --tag="livecontrols.groups.config"
  1. Open /config/livecontrols_groups.php
  2. Change line "usergroups_admins" to an array of UserGroup keys

Autogenerate groups

  1. Run in console:
php artisan vendor:publish --tag="livecontrols.groups.config"
  1. Open /config/livecontrols_groups.php
  2. Change line "usergroups_to_generate" to an array of UserGroups (See file for more informations)
  3. Run in console:
php artisan livecontrols:creategroups

Usage

Todo