PHPackages                             vluzrmos/simple-revisions - 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. [Database &amp; ORM](/categories/database)
4. /
5. vluzrmos/simple-revisions

ActiveLibrary[Database &amp; ORM](/categories/database)

vluzrmos/simple-revisions
=========================

An Eloquent simple revisions package.

v0.0.2(10y ago)032MITPHP

Since Dec 15Pushed 10y ago1 watchersCompare

[ Source](https://github.com/vluzrmos/simple-revisions)[ Packagist](https://packagist.org/packages/vluzrmos/simple-revisions)[ RSS](/packages/vluzrmos-simple-revisions/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (2)Dependencies (2)Versions (3)Used By (0)

Simple Revisions
================

[](#simple-revisions)

[![Latest Stable Version](https://camo.githubusercontent.com/681e5c4d3d950b0d65e3c9f940ee3cc8ae231d745642a33d18fd2997ab93e3fe/68747470733a2f2f706f7365722e707567782e6f72672f766c757a726d6f732f73696d706c652d7265766973696f6e732f762f737461626c65)](https://packagist.org/packages/vluzrmos/simple-revisions) [![Total Downloads](https://camo.githubusercontent.com/7fec2f1574f416f28f773b9c2e284e270923ce05292d17915d52f8c3f98d0a18/68747470733a2f2f706f7365722e707567782e6f72672f766c757a726d6f732f73696d706c652d7265766973696f6e732f646f776e6c6f616473)](https://packagist.org/packages/vluzrmos/simple-revisions) [![Latest Unstable Version](https://camo.githubusercontent.com/246212ae57e6bfc9af73ca8be14537fec04d14153e05335bf0d8d7a78b406da6/68747470733a2f2f706f7365722e707567782e6f72672f766c757a726d6f732f73696d706c652d7265766973696f6e732f762f756e737461626c65)](https://packagist.org/packages/vluzrmos/simple-revisions) [![License](https://camo.githubusercontent.com/8ed4a91354925f741c5606eb749ea15f2b00acef189bae417a276721e57fd05b/68747470733a2f2f706f7365722e707567782e6f72672f766c757a726d6f732f73696d706c652d7265766973696f6e732f6c6963656e7365)](https://packagist.org/packages/vluzrmos/simple-revisions)

That package listen for events in yours eloquent models and store the data that is saving/updating/creating.

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

[](#installation)

```
composer require vluzrmos/simple-revisions

```

put that service provider in your `config/app.php` file:

```
Vluzrmos\SimpleRevisions\Providers\SimpleRevisionsServiceProvider::class

```

Run the artisan command to add the package migrations to your database migrations path:

```
php artisan vendor:publish --provider=Vluzrmos\SimpleRevisions\Providers\SimpleRevisionsServiceProvider

```

And then run your migrations:

```
php artisan migrate

```

> **Note:** Be sure that exists an users table (that table name is in your `config/auth.php`).

Usage
-----

[](#usage)

The model you want to log revisions should be like that:

```
use Illuminate\Database\Eloquent\Model;
use Vluzrmos\SimpleRevisions\Contracts\Revisionable;
use Vluzrmos\SimpleRevisions\Eloquent\RevisionableTrait;

class MyModel extends Model implements Revisionable
{
   use RevisionableTrait;
}
```

And then, when you save, update or delete an instance of your model, it should be revisioned!

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

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

Every ~19 days

Total

2

Last Release

3829d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/450848?v=4)[Vagner Luz do Carmo](/maintainers/vluzrmos)[@vluzrmos](https://github.com/vluzrmos)

---

Top Contributors

[![vluzrmos](https://avatars.githubusercontent.com/u/450848?v=4)](https://github.com/vluzrmos "vluzrmos (16 commits)")

---

Tags

laraveldatabaseeloquentRevisions

### Embed Badge

![Health badge](/badges/vluzrmos-simple-revisions/health.svg)

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

###  Alternatives

[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k8.0M88](/packages/mongodb-laravel-mongodb)[kirschbaum-development/eloquent-power-joins

The Laravel magic applied to joins.

1.6k29.9M42](/packages/kirschbaum-development-eloquent-power-joins)[spiritix/lada-cache

A Redis based, automated and scalable database caching layer for Laravel

591452.8k2](/packages/spiritix-lada-cache)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[reedware/laravel-relation-joins

Adds the ability to join on a relationship by name.

2121.2M16](/packages/reedware-laravel-relation-joins)[ntanduy/cloudflare-d1-database

Cloudflare D1 database driver for Laravel — full Eloquent &amp; Query Builder support.

276.8k](/packages/ntanduy-cloudflare-d1-database)

PHPackages © 2026

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