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.
dev-master
2018-03-05 08:16 UTC
Requires
- php: >=5.6
- yiisoft/yii2: ~2.0
Requires (Dev)
- codeception/codeception: ^2.2
- codeception/specify: ~0.4.5
- codeception/verify: ~0.3.1
- fzaninotto/faker: ^1.6
- phpunit/php-code-coverage: ~4.0
- satooshi/php-coveralls: ~1.0
- squizlabs/php_codesniffer: ~2.8.0
This package is not auto-updated.
Last update: 2026-03-07 05:22:35 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 ] ]