rodrigopedra/laravel-versionable

Allows to create Laravel 5.6 and 6.0 Model versioning and restoring

Maintainers

Package info

github.com/rodrigopedra/laravel-versionable

Homepage

pkg:composer/rodrigopedra/laravel-versionable

Statistics

Installs: 54

Dependents: 0

Suggesters: 0

Stars: 3

Open Issues: 0

v0.4.0 2022-06-08 22:56 UTC

This package is auto-updated.

Last update: 2026-03-09 07:22:51 UTC


README

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.