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. jsefton/revisionable

ActiveLibrary

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 3d 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

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

1985d 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

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[namu/wirechat

A Laravel Livewire messaging app for teams with private chats and group conversations.

54324.5k](/packages/namu-wirechat)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)

PHPackages © 2026

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