katanyoo/yii2-activerecord-history
Composer 安装命令:
composer require katanyoo/yii2-activerecord-history
包简介
This extension for keep track what your users are doing within your application is to log their activities related to database modifications.
README 文档
README
This extension for keep track what your users are doing within your application is to log their activities related to database modifications.
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist katanyoo/yii2-activerecord-history "*"
or add
"katanyoo/yii2-activerecord-history": "*"
to the require section of your composer.json file.
If you are using DBManager as Manager, you need to run
php yii migrate/up --migrationPath=@vendor/katanyoo/yii2-activerecord-history/migrations
or if you want to use another DB, you can add
--db=db2
Usage
Once the extension is installed, simply use it in your code by :
统计信息
- 总下载量: 195
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2017-01-28