2017 © Pedro Peláez
 

yii2-extension yii2-models-history

Save model updates history to db

image

qvalent/yii2-models-history

Save model updates history to db

  • Tuesday, February 16, 2016
  • by qvalent
  • Repository
  • 1 Watchers
  • 0 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 31 % Grown

The README.md

Model updates history stored in DB

Extension is automatically saves all ActiveRecords inserts, updates and deletes at table {{%models_history}}, (*1)

Installation

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

Either run, (*3)

php composer.phar require --prefer-dist qvalent/yii2-models-history "*"

or add, (*4)

"qvalent/yii2-models-history": "*"

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

Then apply migration:, (*6)

php yii migrate --migrationPath="@vendor/qvalent/yii2-models-history/migrations"

Usage

No other steps required. Extension is working now, you can test it by update some project ActiveRecord and see updates in {{%models_history}}., (*7)

Feel free to create issues if something is wrong., (*8)

The Versions

16/02 2016

dev-master

9999999-dev

Save model updates history to db

  Sources   Download

BSD-3-Clause

The Requires

 

by Avatar qvalent

log extension yii2 model history save

16/02 2016

v1.0

1.0.0.0

Save model updates history to db

  Sources   Download

BSD-3-Clause

The Requires

 

by Avatar qvalent

log extension yii2 model history save