承接 webographen/statamic-admin-log 相关项目开发

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

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

webographen/statamic-admin-log

最新稳定版本:v1.1.0

Composer 安装命令:

composer require webographen/statamic-admin-log

包简介

Logs all user actions in the control panel

README 文档

README

This addon creates a new log which records every action taken by your users in the control panel, allowing you to track who changed what and when.

Currently still in development, activiely working on additional features and fine tuning (see ToDo below).

Requirements

  • Statamic v3

Installation

From your site folder, run composer require webographen/statamic-admin-log - or install it via the control panel.

Usage

Statamic Admin Log will start logging all actions in the control panel once it is installed.

The logs are saved in the default log directory (usually storage/logs).

If you want to be able to access your logs from the control panel, we recommend the free Logbook addon.

Options

The addon automatically publishes a config file in config/admin-log.php. Currently there are three options:

enabled - turn the admin loog off and on (also possible via env variable) delete-after - set how many days of logs laravel should keep (dfault: 30) log-name - change the name of the logfiles (default: adminlog)

Tracked Events

Currently these events are logged automatically:

  • Asset (create/edit, delete)
  • Asset Container (create/edit, delete)
  • Asset Folder (create/edit, delete)
  • Blueprint (create/edit, delete)
  • Collection (create/edit, delete)
  • Entry (create/edit, delete)
  • Fieldset (create/edit, delete)
  • Form (create/edit, delete)
  • Form Submission (delete)
  • Global Set (create/edit, delete)
  • Navigation (create/edit, delete)
  • Taxonomy (create/edit, delete)
  • Taxonomy Term (create/edit, delete)
  • User (create/edit, delete)
  • User Group (create/edit, delete)
  • User Role (create/edit, delete)

ToDo

  • Create config for deleting logs after x days
  • Differentiate between create and edit events
  • Add more useful events
  • Add IP logging option
  • Tests :)

About Us

Webographen is a digital design studio focusing on Statamic. We make websites that are not just pretty, but scale in terms of design and technology.

统计信息

  • 总下载量: 106.72k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 3
  • Watchers: 0
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-10-06