2017 © Pedro Peláez
 

yii2-extension yii2-user-db-log

Yii2 User DB modifications logger

image

podtserkovsky/yii2-user-db-log

Yii2 User DB modifications logger

  • Tuesday, July 5, 2016
  • by podtserkovsky
  • Repository
  • 1 Watchers
  • 1 Stars
  • 55 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 5 Versions
  • 12 % Grown

The README.md

Yii2 User DB modifications logger

Yii2 User DB modifications logger. Save modifications your tables., (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-dist podtserkovsky/yii2-user-db-log "*"

or add, (*4)

"podtserkovsky/yii2-user-db-log": "*"

to the require section of your composer.json file., (*5)

Usage

For demo install advanced yii https://github.com/yiisoft/yii2-app-advanced/blob/master/docs/guide/start-installation.md#installing-using-composer Create database and run initial migrations, (*6)

Apply migrations, run in console:, (*7)

php yii migrate --migrationPath=@vendor/podtserkovsky/yii2-user-db-log/migrations

Add in your app config:, (*8)

'modules' => [
        'user-db-log' => [
            'class' => 'podtserkovsky\userdblog\Module',
        ],
    ],

Simply use it in your code by in any ActiveRecord class :, (*9)

public function behaviors()
{
    return [
        [
            'class' => UserDbLogBehavior::className()
        ],
    ];
}

``

You can then access Log through the following URL:, (*10)

http://localhost/path/to/index.php?r=user-db-log

or if you have enabled pretty URLs, you may use the following URL:, (*11)

http://localhost/path/to/index.php/user-db-log

The Versions

05/07 2016

dev-master

9999999-dev

Yii2 User DB modifications logger

  Sources   Download

BSD-4-Clause

The Requires

 

by Podtserkovsky Mikhail

extension yii2

05/07 2016

1.0.3

1.0.3.0

Yii2 User DB modifications logger

  Sources   Download

BSD-4-Clause

The Requires

 

by Podtserkovsky Mikhail

extension yii2

05/07 2016

1.0.2

1.0.2.0

Yii2 User DB modifications logger

  Sources   Download

BSD-4-Clause

The Requires

 

by Podtserkovsky Mikhail

extension yii2

05/07 2016

1.0.1

1.0.1.0

Yii2 User DB modifications logger

  Sources   Download

BSD-4-Clause

The Requires

 

by Podtserkovsky Mikhail

extension yii2

05/07 2016

1.0.0

1.0.0.0

Yii2 User DB modifications logger

  Sources   Download

BSD-4-Clause

The Requires

 

by Podtserkovsky Mikhail

extension yii2