musingsz/yii2-audit
Composer 安装命令:
composer require musingsz/yii2-audit
包简介
No bootstrap dependent,Yii2 Audit records and requests, database changes, php/js errors and associated data.
README 文档
README
Yii2 Audit records and displays web/cli requests, database changes, php/js errors and associated data.
Features
Powerful, yet Simple
- Installs as a simple module so it can be added without any hassle.
- You can either track specific actions and nothing else or exclude specific routes from logging (wildcard supported).
- View your data. The module contains a nice viewer that is automatically made available when you add it to your configuration. It has configurable permissions to limit access to this functionality by IPs, roles or users.
Minimal Footprint
Tracks minimal data in the base entry:
user_id- User ID of the visitor (if any), based onYii::$app->user->id.ip- IP Address of the visitor.request_method- The method used to generate the request, eg:CLIfor console requests andGET,POST,DELETE,PUT,PATCH,OPTIONSorHEADfor web requests.ajax- If the page was requested using ajax.route- The controller and action of the request.duration- How long the request took to serve.memory_max- The peak memory usage during the request.created- The datetime the entry was created.
统计信息
- 总下载量: 24
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD
- 更新时间: 2017-03-09