avocet-shores/laravel-rewind
Full version control for Eloquent models: rewind, fast-forward, restore, diff, and query point-in-time state. Uses a hybrid engine (diffs + snapshots) with configurable intervals, thread-safe locking, batch revisions, queued writes, and pruning.
spatie/laravel-activitylog with custom event handlers.snapshot_interval.timestamps (e.g., diffing specific fields).*"Rewind solves two critical pain points: risk mitigation and operational efficiency.
*"Rewind is a drop-in solution for Eloquent versioning with production-ready features:
whereStateBecame('status', 'shipped')).current_version column (one migration).
Alternatives: Custom solutions (e.g., created_at + updated_at + manual diffs) are error-prone and lack features like batch versioning or state transition tracking."**"Rewind turns your database into a time machine for data analysis:
Rewind::versionAt($user, '2023-01-01')).order_status or user_role change over time with structured queries (e.g., whereStateTransition('status', 'pending', 'shipped')).batch_uuid for cohesive rollups.
Use cases:How can I help you explore Laravel packages today?