I,sorry for english, to manage user i use the extension yii2-user , the path is app\vendor\dektrium\yii2-user;
if i want use this , in the controller i write :
use app\vendor\dektrium\yii2-user\models\User;
But i have this errors :
syntax error, unexpected '-', expecting ',' or ';'
how must i insert the model in the controller without ‘-’ ?