Easy way to record and rollback any changes of your Eloquent Entities.

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 3

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/antoniputra/reviz

dev-master 2022-01-03 07:17 UTC

This package is auto-updated.

Last update: 2025-09-29 02:51:57 UTC


README

Build Status codecov Total Downloads Latest Stable Version License

Easy way to record and rollback any changes of your Eloquent Entities.

Feature

  • √ Monitor your Eloquent changes.
  • √ Filter specific fields to be monitored.
  • √ Single Rollback to specific state
  • √ Group rollback by batch
  • [soon] GUI

How to use

Just put RevizTrait to your desired Eloquent Models. e.g:

namespace App;

use Antoniputra\Reviz\RevizTrait;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class Post extends Model
{
    use SoftDeletes, RevizTrait;

    ...
}