Easy way to record and rollback any changes of your Eloquent Entities.
- √ Monitor your Eloquent changes.
- √ Filter specific fields to be monitored.
- √ Single Rollback to specific state
- √ Group rollback by batch
- [soon] GUI
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;
...
}