hexaua/yii2-support

There is no license information available for the latest version (dev-master) of this package.

Yii2 support module. Ticket system with customer.

Installs: 1 192

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 2

Open Issues: 0

Type:yii2-extension

dev-master 2018-03-05 08:16 UTC

This package is not auto-updated.

Last update: 2024-05-03 20:10:41 UTC


README

Installation

Edit your composer.json file, in require section add

"hexaua/yii2-support": "dev-master"

// Example
"require": {
    "hexaua/yii2-support": "dev-master"
}

Apply migrations

To apply module migrations from project root run the following command

php yii migrate --migrationPath=hexaua\yiisupport\migrations

Create permissions

Your project must support rbac and have at least two roles. One for administrator and one for user.

php yii support/permissions

Include module

Configuring module

'modules' => [
    'support' => [
        'class'    => 'hexaua\yiisupport\Module',
        'userRole' => 'partner', // Default to user
        'adminRole => 'admin'    // Default to admin
    ]
]