PHPackages                             mirko-pagliai/cakephp-entities-logger - 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. mirko-pagliai/cakephp-entities-logger

ActiveCakephp-plugin

mirko-pagliai/cakephp-entities-logger
=====================================

Entities Logger plugin for CakePHP

1.0.1(1mo ago)04.6k↓72.3%MITPHPPHP &gt;=8.2CI passing

Since Jan 28Pushed 1mo agoCompare

[ Source](https://github.com/mirko-pagliai/cakephp-entities-logger)[ Packagist](https://packagist.org/packages/mirko-pagliai/cakephp-entities-logger)[ Docs](https://github.com/mirko-pagliai/cakephp-entities-logger)[ RSS](/packages/mirko-pagliai-cakephp-entities-logger/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (6)Versions (4)Used By (0)

cakephp-entities-logger
=======================

[](#cakephp-entities-logger)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.txt)[![CI](https://github.com/mirko-pagliai/cakephp-entities-logger/actions/workflows/ci.yml/badge.svg)](https://github.com/mirko-pagliai/cakephp-entities-logger/actions/workflows/ci.yml)[![codecov](https://camo.githubusercontent.com/5235d156195799d7878c9cee3446068d99a3d3786843385e7eddddd508bc2f49/68747470733a2f2f636f6465636f762e696f2f67682f6d69726b6f2d7061676c6961692f63616b657068702d656e7469746965732d6c6f676765722f67726170682f62616467652e7376673f746f6b656e3d397969344e434141446c)](https://codecov.io/gh/mirko-pagliai/cakephp-entities-logger)[![Codacy Badge](https://camo.githubusercontent.com/9f802288b0ff128d63eb88424b6a3c1e981aec274d967bce2c7ebb77b2fca3af/68747470733a2f2f6170702e636f646163792e636f6d2f70726f6a6563742f62616467652f47726164652f3739313532653062643037613437633538646165636430346161366263323235)](https://app.codacy.com/gh/mirko-pagliai/cakephp-entities-logger/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)[![CodeFactor](https://camo.githubusercontent.com/dfdc48085a0d298d33288cf1e403ab532c152c31517bc106382b869dd596686f/68747470733a2f2f7777772e636f6465666163746f722e696f2f7265706f7369746f72792f6769746875622f6d69726b6f2d7061676c6961692f63616b657068702d656e7469746965732d6c6f676765722f6261646765)](https://www.codefactor.io/repository/github/mirko-pagliai/cakephp-entities-logger)

[![screenshot_phpmyadmin.png](docs/screenshot_phpmyadmin.png)](docs/screenshot_phpmyadmin.png)

From this screenshot, which shows the table seen by PhpMyAdmin, we see the logs generated by two different entities, created, modified or deleted by different users.

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

[](#installation)

You can install the plugin via composer:

```
composer require --prefer-dist mirko-pagliai/cakephp-entities-logger
```

Then you have to load the plugin. For more information on how to load the plugin, please refer to the [CakePHP documentation](https://book.cakephp.org/5/en/plugins.html#loading-a-plugin).

Simply, you can execute the shell command to enable the plugin:

```
bin/cake plugin load Cake/EntitiesLogger
```

This would update your application's bootstrap method.

Create the table
----------------

[](#create-the-table)

Now you need to create the table that the plugin will use to keep changes to the entities you want.

The best way is using migrations:

```
bin/cake migrations migrate -p Cake/EntitiesLogger
```

Instead, if you want to verify that the plugin migrations have been applied correctly:

```
bin/cake migrations status -p Cake/EntitiesLogger
```

Add the behavior
----------------

[](#add-the-behavior)

Add the `Cake/EntitiesLogger.EntitiesLog` behavior to the tables you want.

Inside the `initialize()` method of your tables:

```
namespace App\Model\Table;

use Cake\ORM\Table;

class ArticlesTable extends Table
{
    public function initialize(array $config): void
    {
        // ...

        $this->addBehavior('Cake/EntitiesLogger.EntitiesLog');

        // ...
    }
}
```

###  Health Score

45

—

FairBetter than 93% of packages

Maintenance90

Actively maintained with recent releases

Popularity23

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

2

Last Release

53d ago

PHP version history (2 changes)1.0.0PHP &gt;=8.1

1.0.1PHP &gt;=8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/56d4c91c4d1ce5952a13c723d4fd340f8a1220ba1ef0212bbdb9a6334c98b3b9?d=identicon)[mirko-pagliai](/maintainers/mirko-pagliai)

---

Top Contributors

[![mirko-pagliai](https://avatars.githubusercontent.com/u/293199?v=4)](https://github.com/mirko-pagliai "mirko-pagliai (129 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mirko-pagliai-cakephp-entities-logger/health.svg)

```
[![Health](https://phpackages.com/badges/mirko-pagliai-cakephp-entities-logger/health.svg)](https://phpackages.com/packages/mirko-pagliai-cakephp-entities-logger)
```

###  Alternatives

[snelg/cakephp-3-oracle

Oracle datasource for CakePHP 3

111.5k](/packages/snelg-cakephp-3-oracle)

PHPackages © 2026

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