1. Go to this page and download the library: Download czim/laravel-cms-acl-module library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
'groups' => [
[
// The type must always be 'group'
'type' => 'group',
// The label will be used for the multiselect optgroup
'label' => 'Some Label',
// Translation key to use for a label for the optgroup. If this is set, the label value is ignored.
'label_translated' => 'some.translation.key',
// Permissions should always be a list of available permission slug strings
'permissions' => [
'example.custom.permission',
'models.app-models-post.show',
]
]
],