PHPackages                             samuell/revisions-plugin - 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. samuell/revisions-plugin

ActiveOctober-plugin

samuell/revisions-plugin
========================

Revisions allows to extend any model with Revisionable trait with more features and easy to use.

1.2.1(4y ago)107.1k—7.1%7MITPHPPHP &gt;=7.3

Since Aug 10Pushed 3y ago5 watchersCompare

[ Source](https://github.com/Samuell1/revisions-plugin)[ Packagist](https://packagist.org/packages/samuell/revisions-plugin)[ Docs](https://github.com/Samuell1/revisions-plugin)[ RSS](/packages/samuell-revisions-plugin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (3)Dependencies (1)Versions (5)Used By (0)

Revisions
=========

[](#revisions)

Revisions allows to extend any model with Revisionable trait. It offers more features and are easy to use.

Extends OctoberCMS core trait Revisionable:

Usage
-----

[](#usage)

Extending model with Revisions trait.

```
class MyModel {
    use \Samuell\Revisions\Traits\Revisions;

    /**
     * @var array Monitor these attributes for changes.
     */
    protected $revisionable = ['name', 'email'];

}
```

Adding new widget to our form config

```
history:
    label: History of changes
    span: full
    disabled: true
    type: revisionhistory
    recordsPerPage: 10
    readOnly: false
```

### Displaying a changed relation

[](#displaying-a-changed-relation)

By default, when you make a relation revisionable, only the changed ID will be displayed. To display the title or name of the relation instead, you can add the field below to the parent form.

```
category_id:
    hidden: true
    revisions:
        relation: Acme\Plugin\Models\Category
        nameFrom: name # 'name' is the default
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 56% 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 ~303 days

Total

3

Last Release

1500d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3110002?v=4)[Samuel](/maintainers/Samuell1)[@Samuell1](https://github.com/Samuell1)

---

Top Contributors

[![Samuell1](https://avatars.githubusercontent.com/u/3110002?v=4)](https://github.com/Samuell1 "Samuell1 (51 commits)")[![evwerkz](https://avatars.githubusercontent.com/u/49227960?v=4)](https://github.com/evwerkz "evwerkz (16 commits)")[![rubenvanerk](https://avatars.githubusercontent.com/u/20305359?v=4)](https://github.com/rubenvanerk "rubenvanerk (16 commits)")[![Pindagus](https://avatars.githubusercontent.com/u/2330211?v=4)](https://github.com/Pindagus "Pindagus (4 commits)")[![TimFoerster](https://avatars.githubusercontent.com/u/7849550?v=4)](https://github.com/TimFoerster "TimFoerster (2 commits)")[![makhlukgod](https://avatars.githubusercontent.com/u/41994233?v=4)](https://github.com/makhlukgod "makhlukgod (1 commits)")[![gergo85](https://avatars.githubusercontent.com/u/2959112?v=4)](https://github.com/gergo85 "gergo85 (1 commits)")

---

Tags

octobercms-pluginrevisionschangesoctobercmsRevisions

### Embed Badge

![Health badge](/badges/samuell-revisions-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/samuell-revisions-plugin/health.svg)](https://phpackages.com/packages/samuell-revisions-plugin)
```

###  Alternatives

[rainlab/blog-plugin

Blog plugin for October CMS

17257.7k](/packages/rainlab-blog-plugin)[rainlab/builder-plugin

Builder plugin for October CMS

17147.2k1](/packages/rainlab-builder-plugin)[rainlab/translate-plugin

Translate plugin for October CMS

12666.5k9](/packages/rainlab-translate-plugin)[rainlab/pages-plugin

Pages plugin for October CMS

12252.4k4](/packages/rainlab-pages-plugin)[rainlab/user-plugin

User plugin for October CMS

11954.3k13](/packages/rainlab-user-plugin)[rainlab/sitemap-plugin

Sitemap plugin for October CMS

2277.8k1](/packages/rainlab-sitemap-plugin)

PHPackages © 2026

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