PHPackages                             nav33d/craft-activitylog - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. nav33d/craft-activitylog

AbandonedArchivedCraft-plugin[Logging &amp; Monitoring](/categories/logging)

nav33d/craft-activitylog
========================

Log activity inside Craft CMS control panel

1.0.1(6y ago)939.2k↓50%4[10 PRs](https://github.com/Nav33d/craft-activitylog/pulls)MITPHP

Since Mar 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/Nav33d/craft-activitylog)[ Packagist](https://packagist.org/packages/nav33d/craft-activitylog)[ RSS](/packages/nav33d-craft-activitylog/feed)WikiDiscussions v1 Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (13)Used By (0)

Activity Log plugin for Craft CMS 3
===================================

[](#activity-log-plugin-for-craft-cms-3)

Activity Log records user's activity in the control panel.

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 3.0.0 or later.

Installation
------------

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

```
cd /path/to/project

```

2. Then tell Composer to load the plugin:

```
composer require nav33d/craft-activitylog

```

3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Activity Log.

Overview
--------

[](#overview)

Activity Log records some of the events in the Craft CMS control panel. It will record the following events:

- **Plugin events:** It will record when a plugin is installed, uninstalled, enabled or disabled.
- **Auth events:** It will record when a user logs in or logs out.
- **Element events:** It will record when an element is created, updated or deleted. Default elements in Craft are *Entries, Assets, Categories, Tags, Users and GlobalSet*. It will also record events for any custom elements.

Settings
--------

[](#settings)

Settings allow user to configure Activity Log.

[![Screenshot](resources/screenshots/activitylog-settings.png)](resources/screenshots/activitylog-settings.png)

- **Plugin name:** The public-facing name of the plugin.
- **Log plugin event:** Should the plugin events (installed, uninstalled, enabled, disabled) be recorded?
- **Log auth events:** Should the auth events (login, logout) be recorded?
- **Log element events** Should the element events (create, update, delete) be recorded?
- **Logs store limit** How many days of logs should be kept? Any logs older than the given days will be removed once Prune button in the logs section is clicked or using provided prune console command.

Logs
----

[](#logs)

Once the plugin is installed and enabled it will start recording user's activity based on the settings. Once there are events recorded you can view them in Logs section as well as filter and sort them.

[![Screenshot](resources/screenshots/activitylog-logs.png)](resources/screenshots/activitylog-logs.png)

[![Screenshot](resources/screenshots/activitylog-view-log.png)](resources/screenshots/activitylog-view-log.png)

### Filters

[](#filters)

Following filters are provided:

[![Screenshot](resources/screenshots/activitylog-filters.png)](resources/screenshots/activitylog-filters.png)

- **Title:** You can filter the logs by title.
- **Action:** You can filter the logs by action *(Saved element, Created element, Deleted element and many more...)*

### Sort

[](#sort)

You can also sort logs by *Type, Action, User and Date* columns. To sort simply click on the relevant table heading.

[![Screenshot](resources/screenshots/activitylog-sort.png)](resources/screenshots/activitylog-sort.png)

### Prune logs

[](#prune-logs)

Its a button which appears on the top right hand corner of the Logs section if the user has permission to prune logs.

You can decide how many days of logs to keep in the Settings section.

### Delete all logs

[](#delete-all-logs)

Its a button which appears on the top right hand corner of the Logs section if the user has permission to delete logs.

[![Screenshot](resources/screenshots/activitylog-prune-delete-buttons.png)](resources/screenshots/activitylog-prune-delete-buttons.png)

Console commands
----------------

[](#console-commands)

### **Prune**

[](#prune)

You can also prune logs using the following prune command:

`./craft activitylog/logs/prune`

Logs will be pruned based on the Settings.

Permissions
-----------

[](#permissions)

If you are using Craft CMS Pro edition then Activity Log provides permissions that can be used to grant / restrict access to users based on their User Group. These are set in **Settings-&gt;Users-&gt;User Groups**

[![Screenshot](resources/screenshots/activitylog-permissions.png)](resources/screenshots/activitylog-permissions.png)

- **View logs:** whether the user group has access to view the logs
- **Prune logs:** whether the user group has access to prune the logs based on settings
- **Delete logs:** whether the user group has access to delete all logs
- **Settings:** whether the user group has access to viewing and changing the plugin Settings

You should also grant them the Access Activity Log permission under General permissions.

Credits
-------

[](#credits)

- Activity Log icon by [Noun Project](https://thenounproject.com/search/?q=activity&i=1288369)

Brought to you by [Naveed Ziarab](https://naveedziarab.co.uk)

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 87.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~41 days

Total

3

Last Release

2535d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9a96dd9008511dd1a112dc89c1177c9924d4393f22a9916f229785d60ced4d7f?d=identicon)[naveedziarab](/maintainers/naveedziarab)

---

Top Contributors

[![Nav33d](https://avatars.githubusercontent.com/u/4228466?v=4)](https://github.com/Nav33d "Nav33d (7 commits)")[![TheBenjiManCan](https://avatars.githubusercontent.com/u/2804897?v=4)](https://github.com/TheBenjiManCan "TheBenjiManCan (1 commits)")

---

Tags

activity-logcraft-plugincraftcmscmsCraftcraftcmscraft-pluginactivitylogcraftcms3

### Embed Badge

![Health badge](/badges/nav33d-craft-activitylog/health.svg)

```
[![Health](https://phpackages.com/badges/nav33d-craft-activitylog/health.svg)](https://phpackages.com/packages/nav33d-craft-activitylog)
```

###  Alternatives

[lukeyouell/craft-sentry

Error tracking that helps developers monitor and fix crashes in real time. Iterate continuously. Boost efficiency. Improve user experience.

17123.4k1](/packages/lukeyouell-craft-sentry)[superbig/craft-audit

Log adding/updating/deleting of elements

2053.6k](/packages/superbig-craft-audit)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
