qvalent/yii2-models-history
Composer 安装命令:
composer require qvalent/yii2-models-history
包简介
Save model updates history to db
README 文档
README
Extension is automatically saves all ActiveRecords inserts, updates and deletes at table {{%models_history}}
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist qvalent/yii2-models-history "*"
or add
"qvalent/yii2-models-history": "*"
to the require section of your composer.json file.
Then apply migration:
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}}.
Feel free to create issues if something is wrong.
统计信息
- 总下载量: 23
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2016-02-16