antoniputra / reviz
Easy way to record and rollback any changes of your Eloquent Entities.
dev-master
2022-01-03 07:17 UTC
Requires
- php: >=7.2
- illuminate/support: ^5.8|^6|^7|^8
- laravel/framework: ^5.8|^6|^7|^8
Requires (Dev)
- orchestra/testbench: ^5.20
This package is auto-updated.
Last update: 2024-10-29 06:25:17 UTC
README
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; ... }