承接 jmillerdesign/log_action 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jmillerdesign/log_action

Composer 安装命令:

composer require jmillerdesign/log_action

包简介

CakePHP plugin to monitor changes to the database made by a user.

README 文档

README

Version 8, by J. Miller

This will monitor specified fields in your database for changes. It will log the before and after values of changes, as well as the user_id that made the change.

Installation

  1. Run the following command to create the database table log_actions.

    cake schema create --plugin LogAction

  2. Load the plugin in Config/bootstrap.php

    CakePlugin::load('LogAction');

  3. Add the behavior to the model(s) you want to monitor, and specify the fields to monitor. If you don't specify fields, then it will monitor all fields.

    public $actsAs = array( 'LogAction.LogAction' => array( 'fields' => array('title', 'body'), 'trackDelete' => false ) );

TODO

  • Add support for AppModel, to monitor all fields in all tables, or specified fields on all tables

统计信息

  • 总下载量: 10
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 2
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-05-17