rodrigopedra / laravel-versionable
Allows to create Laravel 5.6 and 6.0 Model versioning and restoring
Installs: 54
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 1
Forks: 101
Open Issues: 0
pkg:composer/rodrigopedra/laravel-versionable
Requires
- php: ^7.2.5|^8.0
- illuminate/database: ^6.20.12|^7.30.4|^8.22.1|^9.0
- illuminate/events: ^6.20.12|^7.30.4|^8.22.1|^9.0
- illuminate/support: ^6.20.12|^7.30.4|^8.22.1|^9.0
Requires (Dev)
- mockery/mockery: ^1.0
- phpunit/phpunit: ^9.3.3.
This package is auto-updated.
Last update: 2025-10-09 06:24:31 UTC
README
Easy to use Model versioning for Laravel 5.6
Keep track of all your model changes and revert to previous versions of it.
// Restore to the previous change $content->previousVersion()->revert(); // Get model from a version $oldModel = Version::find(100)->getModel();
License
Laravel Versionable is free software distributed under the terms of the MIT license.