Skip to content

Releases: EloisePHP/laravel-model-recording

v0.2.0

25 Aug 14:35
28c98a0
Compare
Choose a tag to compare

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

18 Aug 06:26
Compare
Choose a tag to compare

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!