vault backup: 2025-11-26 15:12:40
This commit is contained in:
@@ -1,3 +1,21 @@
|
||||
<https://github.com/avocet-shores/laravel-rewind>
|
||||
https://github.com/avocet-shores/laravel-rewind
|
||||
|
||||
#Versioning #packages
|
||||
Versioning package for Laravel Eloquent models. Automatically tracks model changes and allows jumping backwards or forwards through version history.
|
||||
|
||||
## Features
|
||||
- Rewind to previous versions or fast-forward to newer ones
|
||||
- Jump directly to specific version numbers
|
||||
- Uses partial diffs + full snapshots for storage efficiency
|
||||
- Thread-safe with cache locking
|
||||
- Exclude sensitive attributes (passwords, tokens) from versioning
|
||||
- Clone models at specific historical points
|
||||
- Non-destructive linear history
|
||||
|
||||
## Usage
|
||||
Add the `Rewindable` trait to your Eloquent model.
|
||||
|
||||
```bash
|
||||
composer require avocet-shores/laravel-rewind
|
||||
```
|
||||
|
||||
#laravel #eloquent #versioning #audit #history #changelog #undo
|
||||
|
||||
Reference in New Issue
Block a user