Skip to content
No description, website, or topics provided.
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
README.md
composer.json

README.md

Model Comments

Model Comments

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist itimum/yii2-model-comment "*"

or add

"itimum/yii2-model-comment": "*"

to the require section of your composer.json file.

Migration

php yii migrate --migrationPath=@itimum/modelComment/migrations

Usage

Once the extension is installed, simply use it in your code by :

public function behaviors() {
    return [
        [
            'class' => itimum\modelComment\ModelCommentBehavior::class
        ]
    ];
}
You can’t perform that action at this time.