Skip to content

rodrigopedra/laravel-versionable

 
 

Repository files navigation

Versionable

Easy to use Model versioning for Laravel 5.6

Based on https://github.com/mpociot/versionable

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.

About

Laravel 5.6 Model versioning

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%