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. [Framework](/categories/framework)
4. /
5. kicaj/revision

ActiveCakephp-plugin[Framework](/categories/framework)

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 yesterday

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 22% 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)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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