Releases: EloisePHP/laravel-model-recording
Releases · EloisePHP/laravel-model-recording
v0.2.0
Rollback feature!
It has the feature of Rollback any auditable Model to the time of your choice, for example
$retrievesPost = Rollback::forModel($post)
->atDate(Carbon::now()->subDay())
->retrieve();
Or if you just want to see the first Post created
$retrievesPost = Rollback::forModel($post)
->retrieve();
Other features:
- Clearer output in the console for commands
- Testing
v0.1.1
All audits are easy to find now!
Using the command eloise:audit:model:audits {modelName?} {--modelId=} {--userId=} you can now find any audit you want
Added some code standards:
- PhpStan level 7
- Phpcs
- Grumphp pass!