visualbuilder/filament-versionable
Filament plugin to manage Eloquent model revisions with polymorphic user support. View diffs, see who changed what, browse revision history, and restore any previous state. Built on visualbuilder/versionable for multi-user-model tracking.
Admin, Editor, Contributor) by leveraging polymorphic user relationships, reducing friction in collaborative workflows (e.g., CMS, documentation platforms).Adopt If:
Admin, Customer).Look Elsewhere If:
spatie/laravel-activitylog with custom optimizations."This package lets us add audit trails and undo functionality to critical data—like a ‘Ctrl+Z’ for our admin tools—without building it from scratch. For example, if a marketer accidentally publishes a broken campaign, we can instantly restore the previous version. It also supports multiple user types (e.g., admins vs. editors), which is key for our [Product X] collaboration features. The cost? A few hours of setup vs. months of dev time. ROI: Reduced errors, faster compliance, and happier users."
Key Metrics to Track:
*"This is a drop-in Filament plugin that adds versioning to Eloquent models with:
Admin, Customer).Trade-offs:
DIFF strategy cautiously).Recommendation: Pilot with 2–3 high-impact resources (e.g., Product, UserProfile) before full rollout. Pair with database indexing for versions table if performance is critical."*
Tech Deep Dive:
visualbuilder/versionable, which extends overtrue/laravel-versionable with Filament UI.shouldStripTags() for HTML content.RevisionsPage for custom logic (e.g., filtering by user role).$versionable attributes.How can I help you explore Laravel packages today?