PHPackages                             kicaj/revision - 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. kicaj/revision

ActiveCakephp-plugin

kicaj/revision
==============

Revision plugin for CakePHP

0193PHP

Since Oct 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/kicaj/revision)[ Packagist](https://packagist.org/packages/kicaj/revision)[ RSS](/packages/kicaj-revision/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Revision plugin for CakePHP
===========================

[](#revision-plugin-for-cakephp)

**NOTE:** It's still in development mode, do not use in production yet!

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

[](#requirements)

It is developed for CakePHP 3.x.

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

[](#installation)

You can install plugin into your CakePHP application using [composer](http://getcomposer.org).

The recommended way to install composer packages is:

```
composer require kicaj/revision dev-master

```

Load the Behavior
-----------------

[](#load-the-behavior)

Load the Behavior in your src/Model/Table/YourTable.php (or if You have AppTable.php). Your table should have two additionals columns: `revision_id` and `revision_hash`.

```
public function initialize(array $config)
{
    parent::initialize($config);

    $this->addBehavior('Revision.Revision');
}

```

The field `revision_id` should have the same type like primary key of table.

TODOs
-----

[](#todos)

- Block updating `modified` field when highest parent is deleted
- Check with complex conditions
- Check configuration
- Exceptions for missing fields/columns
- Create history view
- Revert method
- Field with hash should check unique before save (recurring)
- Set excluded fields

###  Health Score

22

—

LowBetter than 23% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.1% 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/9c20760f298eae29425dd1c6180f208aedd70750a1bf2ecc350956a1587d6b4c?d=identicon)[kicaj](/maintainers/kicaj)

---

Top Contributors

[![kicaj](https://avatars.githubusercontent.com/u/3750725?v=4)](https://github.com/kicaj "kicaj (34 commits)")[![stickler-ci](https://avatars.githubusercontent.com/u/16011037?v=4)](https://github.com/stickler-ci "stickler-ci (1 commits)")

---

Tags

cakephpcakephp-pluginhistoryrevision

### Embed Badge

![Health badge](/badges/kicaj-revision/health.svg)

```
[![Health](https://phpackages.com/badges/kicaj-revision/health.svg)](https://phpackages.com/packages/kicaj-revision)
```

PHPackages © 2026

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