albertborsos/yii2-historizer
最新稳定版本:1.1.1
Composer 安装命令:
composer require albertborsos/yii2-historizer
包简介
Yii2 Model Historizer Extension
README 文档
README
Yii2 Model Historizer Extension
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist albertborsos/yii2-historizer "*"
or add
"albertborsos/yii2-historizer": "*"
to the require section of your composer.json file.
Usage
Once the extension is installed, simply use it in your code by :
<?= \albertborsos\yii2historizer\AutoloadExample::widget(); ?>
Init
CREATE TABLE IF NOT EXISTS `ext_historizer_archives` ( `id` int(11) unsigned NOT NULL AUTO_INCREMENT, `model_class` varchar(512) NOT NULL, `model_id` int(11) NOT NULL, `model_attributes` text NOT NULL, `created_at` INT NOT NULL, `created_user` INT NOT NULL, `updated_at` INT NOT NULL, `updated_user` INT NOT NULL, `status` varchar(1) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
统计信息
- 总下载量: 31
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2015-11-05