Hi, I am using this extension called itsurka/yii2-simple-comment to enable a commenting feature for my blog posts. According to the extension documentation I have installed it using composer and then used migration. At the end of the documentation it says to enable the extension just add "<?php echo SimpleComment::widget([
'model' => $model,
'author' => $user,
'authorNameAttribute' => 'username'
]); ?>" to the code.
So I tried adding it to my posts view.php and I get this error - Class ‘SimpleComment’ not found.
Can anyone help?