PHPackages                             cupracode/wp-activity-log - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. cupracode/wp-activity-log

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

cupracode/wp-activity-log
=========================

An WordPress activity log, designed to allow for recording of meta data through custom field adapters such as ACF

0.5.2(5y ago)063MITPHPPHP &gt;=7.2

Since Apr 24Pushed 5y ago1 watchersCompare

[ Source](https://github.com/harryfinn/wp-activity-log)[ Packagist](https://packagist.org/packages/cupracode/wp-activity-log)[ RSS](/packages/cupracode-wp-activity-log/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (9)DependenciesVersions (10)Used By (0)

WP Activity Log
===============

[](#wp-activity-log)

This composer library contains a series of base classes which can be used in a WordPress theme or plugin to generate a WordPress activity log. It is designed to allow the recording of meta data through custom field adapters such as ACF, the standard WP custom meta field hooks or expanded to your own implementation.

The activity log can be further expanded to house other data, sat outside of the WP meta hooks, but there are other plugins and also built in logging for some data types so this package does not try to fulfil all of these out of the box and instead focuses on postmeta hooks and data.

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

[](#installation)

```
composer require cupracodes\wp-activity-log

```

Usage
-----

[](#usage)

Include the package and add any post types (built-in or custom) that you wish to log ACF field changes for.

```
use CupraCode\WPActivityLog\ActivityLogAdmin;

$activity_log_admin = ActivityLogAdmin::getInstance();

// Log ACF field changes for posts, pages and a custom post type named 'photo'
$activity_log_admin->addPostType('post');
$activity_log_admin->addPostType('page');
$activity_log_admin->addPostType('photo');
```

Click on the 'Activity Log' menu item in the CMS admin menu to view your log.

Customising
-----------

[](#customising)

The `ActivityLogAdmin` class allows you to change the number of entries per page and also the first column, which defaults to the `entry_id` value should you wish to use a unique identifier of your own, perhaps a custom field from your CPT.

To change the default entries per page, use the following example as a guide, here we change the value to 25 entries per page:

```
$activity_log_admin->setPaginationPerPage(25)
```

To change the first column to a custom field, use the following example as a guide, here we change the column name to Ref. Num and specify the custom meta field key we want to fetch and return the value for:

```
$activity_log_admin->setEntryIdOverride([
    'column_name' => 'Ref. Num',
    'column_meta_key' => 'reference_no'
]);
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

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 ~19 days

Recently: every ~29 days

Total

9

Last Release

2057d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8d165dc4e785a667b83bbbe50b3f64547e428c5c7088cb5573900b6bc106ae0c?d=identicon)[harryfinn](/maintainers/harryfinn)

### Embed Badge

![Health badge](/badges/cupracode-wp-activity-log/health.svg)

```
[![Health](https://phpackages.com/badges/cupracode-wp-activity-log/health.svg)](https://phpackages.com/packages/cupracode-wp-activity-log)
```

###  Alternatives

[askedio/laravel-ratchet

A Ratchet Server built for Laravel

18728.2k2](/packages/askedio-laravel-ratchet)[wdev-rs/laravel-datagrid

Laravel integration for Grid.js server side processing

548.4k](/packages/wdev-rs-laravel-datagrid)[elfsundae/laravel-gravatar

The easiest way to generate Gravatar avatar URL.

388.7k](/packages/elfsundae-laravel-gravatar)

PHPackages © 2026

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