Yii2 Comments Module

Installation

composer require dmstr/yii2-comments-module

Configuration

Add this to your configuration

[
    'modules' => [
        'comment' => [
            'class' => dmstr\comments\Module::class
        ]
    ],
    'controllerMap' => [
        'migrate' => [
            'migrationPath' => [
                '@vendor/dmstr/comments/migrations'
            ]
        ]
    ] 
];