Yii 审计模块

跟踪并显示使用信息,包括页面请求、数据库字段更改、php 错误和 Yii 日志。「Track and display usage information including page requests, database field changes, php errors and yii logs.」

Github星跟蹤圖

Yii Audit Module

Track and display usage information including page requests, database field changes, php errors and yii logs.

Features

Visitor Request Tracking

  • Track site activity including everything you need to know about the request.
  • The error handler will automatically create an AuditRequest record for each visitor hit.
  • When the application ends it will update the AuditRequest with memory and time information.

Tracks the following information:

  • Links - Requested URL, referring URL, redirecting to URL (read from the headers at the end of the application)
  • User - Visitors IP Address and logged in user's ID
  • Superglobals - ($_GET/$_POST/$_SESSION/$_FILES/$_COOKIE), the arrays are serialized then compressed using gzip
  • Timers - Start and end times of the application
  • Memory - Memory usage and peak memory usage

Model Field Tracking

  • Tracks the old and new values each time your model is saved.
  • Behavior can easily be attached to any model you want to track field changes.
  • Each field change is related to an AuditRequest so you can see the entire state of the visitors action.
  • Performs multiple inserts in a single query with CDbCommandBuilder::createMultipleInsertCommand().
  • Provides views that can be rendered into your application to show changed fields for your model.

Error Tracking

  • Full error stack dump is saved, even in live mode.
  • Catches all errors, including fatal errors.
  • View all the collected data from the module interface.
  • Each error is related to an AuditRequest so you can see the entire state of the visitors action.

Log Tracking

  • Save logs to your database for easy real-time debugging or for checking on historical logs.
  • Each log is related to an AuditRequest so you can see the entire state of the visitors action.

Resources

Support

License

BSD-3-Clause, Copyright © 2013-2014 Mr PHP

Mr PHP

Latest Stable Version Total Downloads Monthly Downloads Latest Unstable Version Build Status License

主要指標

概覽
名稱與所有者cornernote/yii-audit-module
主編程語言PHP
編程語言PHP (語言數: 3)
平台
許可證Other
所有者活动
創建於2013-12-20 04:17:04
推送於2022-07-05 02:03:06
最后一次提交2022-07-05 11:30:20
發布數17
最新版本名稱1.1.15 (發布於 )
第一版名稱1.0.0 (發布於 )
用户参与
星數22
關注者數12
派生數13
提交數201
已啟用問題?
問題數30
打開的問題數11
拉請求數6
打開的拉請求數0
關閉的拉請求數2
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?