antoniputra / reviz

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Reviz

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;

    ...
}

About

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


Languages

Language:PHP 71.5%Language:Blade 26.1%Language:JavaScript 2.2%Language:SCSS 0.2%