overtrue/laravel-versionable
Add lightweight version history to Laravel Eloquent models. Track only changed attributes, control fields via whitelist/blacklist, keep a set number of versions, browse versions and revert to any saved point in time with simple APIs and migrations.
User, Order, Contract) to support compliance audits.mansoorkhan96/filament-versionable for UI-driven version management.hasMany or belongsTo models). This package versions attributes only; extend with custom logic or use a package like spatie/laravel-activitylog for related models.For Executives: "This package lets us add version history to critical data—like user profiles, orders, or legal documents—with minimal engineering effort. Think of it as 'undo' and 'audit logs' for our app. For example, if a customer disputes a charge, we can instantly see who changed their shipping address and when, reducing fraud risk. It also helps us comply with regulations like GDPR by tracking data changes automatically. The cost? Almost zero—it’s a lightweight Laravel package that integrates in hours, not weeks. We can start with high-risk models and expand as needed."
For Engineers: *"This solves versioning pain points out of the box:
save()/update() creates a version.$model->revertToVersion(3) or fetch diffs for UI previews.Trade-offs:
Proposal:
User and Order models to test compliance/audit use cases.Alternatives considered:
How can I help you explore Laravel packages today?