PHPackages                             jsefton/revisionable - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. jsefton/revisionable

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

jsefton/revisionable
====================

Laravel Revisionable

1.0.0(5y ago)052MITPHP

Since Dec 6Pushed 5y ago1 watchersCompare

[ Source](https://github.com/jsefton/revisionable)[ Packagist](https://packagist.org/packages/jsefton/revisionable)[ Docs](https://jamie-sefton.co.uk)[ RSS](/packages/jsefton-revisionable/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

Laravel Revisionable
====================

[](#laravel-revisionable)

Requires Laravel 7.0+

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

[](#installation)

```
composer require jsefton/revisionable
```

Usage
-----

[](#usage)

A revision log is made when anything is changed and saved to the database inside the `revisions` table. It stores the original value and the current value upon a model being saved.

This can be used on any model. To enable it add the `Revisionable` trait.

```
use Revisionable\Revisionable;

class Post
{
    use Revisionable;
}
```

TODO
----

[](#todo)

- Add in method to restore a previous revision

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Unknown

Total

1

Last Release

2034d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/41b413127c7499a63bcb5c5ae903bd8961ba29300b6ccbda873e0c4bf06d0a02?d=identicon)[jsefton](/maintainers/jsefton)

---

Top Contributors

[![jsefton](https://avatars.githubusercontent.com/u/4114741?v=4)](https://github.com/jsefton "jsefton (5 commits)")

---

Tags

auditlaravelrevisions

### Embed Badge

![Health badge](/badges/jsefton-revisionable/health.svg)

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

###  Alternatives

[markwalet/nova-modal-response

A Laravel Nova asset for Modal responses on an action.

17878.9k](/packages/markwalet-nova-modal-response)[team-nifty-gmbh/tall-datatables

Server-side rendered datatables for Laravel and Livewire

1320.9k4](/packages/team-nifty-gmbh-tall-datatables)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

119.4k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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