namespace frontend\widgets;
use vendor/yii-rbac-plus;
class YiiRbacPlus extends yii-rbac-plus {
$config = [
['roles' => 'admin', 'user']
]; // Нерабочий код - только для примера
}
"repositories": [
{
"type": "package",
"package": {
"name": "username/packagename",
"version": "master",
"source": {
"url": "",
"type": "git",
"reference": "master"
},
"autoload": {
"classmap": [""]
}
}
}
],