Search by

webographen / statamic-admin-log

stoffelio

Logs all user actions in the control panel

Package info

github.com/stoffelio/statamic-admin-log

Type:statamic-addon

pkg:composer/webographen/statamic-admin-log

Statistics

Installs: 119 069

Dependents: 0

Suggesters: 0

Stars: 3

Open Issues: 2

v2.0.0 2026-09-21 11:52 UTC

This package is auto-updated.

Last update: 2026-09-21 11:53:23 UTC


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.

Requirements

  • Statamic v6

For Statamic v3, v4 and v5, use v1.1.0.

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 log off and on (also possible via env variable)
delete-after - set how many days of logs Laravel should keep (default: 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)
  • Global Variables (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

Built and maintained by Alexander Stoffel, freelance Statamic and Laravel developer.