factorenergia/yii2-activerecord-history
最新稳定版本:1.2.0
Composer 安装命令:
composer require factorenergia/yii2-activerecord-history
包简介
Storage history of changes to ActiveRecord
README 文档
README
This extension adds storage history of changes to the AR model
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require nhkey/yii2-activerecord-history "*"
or add
"nhkey/yii2-activerecord-history": "*"
to the require section of your composer.json.
If you are using DBManager as Manager, you need to run
php yii migrate --migrationPath=@vendor/nhkey/yii2-activerecord-history/migrations
Usage
If the property is not specified, the default manager is DBManager. In the extension is two managers: DBManager and FileManager. You can extend the class BaseManager.
There are two way how usage this extension:
- As behavior
- As extend the class ActiveRecord DEPRECATED
Update to 1.1.2
For update you need to run:
php yii migrate --migrationPath=@vendor/nhkey/yii2-activerecord-history/migrations
Credits
Author: Mikhail Mikhalev
Email: mail@mikhailmikhalev.ru
统计信息
- 总下载量: 14.71k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2017-08-01