Download the PHP package sensetivity/yii2-changelog-behavior without Composer
On this page you can find all versions of the php package sensetivity/yii2-changelog-behavior. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download sensetivity/yii2-changelog-behavior
More information about sensetivity/yii2-changelog-behavior
Files in sensetivity/yii2-changelog-behavior
Download sensetivity/yii2-changelog-behavior
More information about sensetivity/yii2-changelog-behavior
Files in sensetivity/yii2-changelog-behavior
Vendor sensetivity
Package yii2-changelog-behavior
Short Description Simple changelog behavior with diff highlight for yii2 models
License MIT
Package yii2-changelog-behavior
Short Description Simple changelog behavior with diff highlight for yii2 models
License MIT
Please rate this library. Is it a good library?
Informations about the package yii2-changelog-behavior
yii2-changelog-behavior
Simple changelog behavior with diff highlight for yii2 models
Installation
1- Install package via composer:
2- Run migrations:
Usage
1- Add ChangeLogBehavior to any model or active record:
Attention: Behavior watches to "safe" attributes only. Add attributes into excludedAttributes if you don't want to log its changes.
2- Add ChangeLogListWidget to view:
3- Add custom log:
Example
Model Post
View post/view.php
History
Controller PostController
View post/view.php
All versions of yii2-changelog-behavior with dependencies
PHP Build Version
Package Version
The package sensetivity/yii2-changelog-behavior contains the following files
Loading the files please wait ....