PHPackages                             jmillerdesign/log\_action - 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. jmillerdesign/log\_action

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

jmillerdesign/log\_action
=========================

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

2105PHP

Since May 17Pushed 11y ago2 watchersCompare

[ Source](https://github.com/jmillerdesign/LogAction-Plugin)[ Packagist](https://packagist.org/packages/jmillerdesign/log_action)[ RSS](/packages/jmillerdesign-log-action/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

LogAction CakePHP Plugin
========================

[](#logaction-cakephp-plugin)

Version 8, by [J. Miller](http://github.com/jmillerdesign)

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
------------

[](#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' =&gt; array( 'fields' =&gt; array('title', 'body'), 'trackDelete' =&gt; false ) );

TODO
----

[](#todo)

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

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 93.3% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/60ebf6fc90b73432ee7d7d0568e0b47c1eedcb4346b008b380467a7e7400f5b6?d=identicon)[jmillerdesign](/maintainers/jmillerdesign)

---

Top Contributors

[![jmillerdesign](https://avatars.githubusercontent.com/u/848523?v=4)](https://github.com/jmillerdesign "jmillerdesign (28 commits)")[![alscheuring](https://avatars.githubusercontent.com/u/223471?v=4)](https://github.com/alscheuring "alscheuring (1 commits)")[![raponiwalter](https://avatars.githubusercontent.com/u/52984?v=4)](https://github.com/raponiwalter "raponiwalter (1 commits)")

### Embed Badge

![Health badge](/badges/jmillerdesign-log-action/health.svg)

```
[![Health](https://phpackages.com/badges/jmillerdesign-log-action/health.svg)](https://phpackages.com/packages/jmillerdesign-log-action)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B11.5k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1941.5M277](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2328.5M343](/packages/open-telemetry-sdk)

PHPackages © 2026

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