vita2333/yii2-admin-log

yii2 admin log extension

Maintainers

Package info

github.com/vita2333/yii2-admin-log

Issues

Type:yii2-extension

pkg:composer/vita2333/yii2-admin-log

Statistics

Installs: 93

Dependents: 0

Suggesters: 0

Stars: 0

1.0.2 2019-04-10 02:14 UTC

This package is auto-updated.

Last update: 2026-03-10 18:25:19 UTC


README

yii2 admin log extention

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist vita2333/yii2-admin-log "^1.0.0"

or add

"vita2333/yii2-admin-log": "^1.0.0"

to the require section of your composer.json file.

Usage

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

class BaseController extends \yii\web\Controller {

  /**
     * @inheritdoc
     */
    public function behaviors()
    {
        $behaviors              = parent::behaviors();
        $behaviors['admin-log'] = [
            'class' => AdminLogBehavior::class,
        ];

        return $behaviors;
    }
 }