Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Laravel Versionable Laravel Package

overtrue/laravel-versionable

Laravel Versionable is a minimalist package that adds version history to your Eloquent models. Track only changed attributes, keep a set number of versions, whitelist or blacklist fields, and easily revert to any specified version.

View on GitHub
Deep Wiki
Context7
v6.0.1
  • Fix withoutVersion() so the previous versioning state is always restored when a callback throws, including nested calls and already-disabled models.
  • Add regression coverage for subsequent model saves after exceptions and errors.
  • Refresh locked dependencies within existing constraints and audit locked, lowest safe, and latest dependency sets in CI.

Backwards-compatible patch for Laravel 13 and PHP 8.3+.

Validation: 53 tests / 226 assertions; all 10 post-merge CI jobs passed across PHP 8.3, 8.4, and 8.5.

PR: https://github.com/overtrue/laravel-versionable/pull/117 CI: https://github.com/overtrue/laravel-versionable/actions/runs/37580489545

v6.0.0
  • Add Laravel 13 support
  • Bump minimum PHP version to 8.3
5.3.0
5.2.7

What's Changed

New Contributors

Full Changelog: https://github.com/overtrue/laravel-versionable/compare/5.2.6...5.2.7

5.2.6
5.2.4

What's Changed

Full Changelog: https://github.com/overtrue/laravel-versionable/compare/5.2.3...5.2.4

5.2.3

What's Changed

New Contributors

Full Changelog: https://github.com/overtrue/laravel-versionable/compare/5.2.2...5.2.3

5.2.2

What's Changed

Full Changelog: https://github.com/overtrue/laravel-versionable/compare/5.2.1...5.2.2

5.2.1

What's Changed

New Contributors

Full Changelog: https://github.com/overtrue/laravel-versionable/compare/5.2.0...5.2.1

5.1.2

What's Changed

New Contributors

Full Changelog: https://github.com/overtrue/laravel-versionable/compare/5.1.1...5.1.2

5.0.0

Added

  • Added oldestVersions()
  • Added latestVersions()

Updated

  • Added pre-existing version detection before updating and create if not exists. by @mansoorkhan96 #53
  • setVersionStrategy(string $strategy) now accept string or enum class: setVersionStrategy(string|VersionStrategy $strategy).
  • VersionStrategy::SNAPSHOT will no longer contain all model attributes, but only all $versionable attributes.
  • Fixed revert logic under VersionStrategy::DIFF strategy.
  • Deprecated history() and replaced with latestVersions()

Removed

  • Removed auto migration.
5.0.0-beta.1
4.5.0

What's Changed

New Contributors

Full Changelog: https://github.com/overtrue/laravel-versionable/compare/4.4.0...4.5.0

4.4.0

What's Changed

New Contributors

Full Changelog: https://github.com/overtrue/laravel-versionable/compare/4.3.0...4.4.0

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
roundly-consulting/kubernetes-api-for-laravel
roundly-consulting/plausible-for-laravel
gvp/gvp-laravel-template
metasyncsite/laravel-metasync-client
roundly-consulting/onboarding-for-laravel
andydefer/laravel-notification
adachsoft/cli-process-tester
jhaskell13/laraflow
sebastienheyd/boilerplate-media-manager
ccast/tagixo-primix
pretendtrue/laravel-builder
sawmainek/laravel-scout-tntsearch-driver
tomshaw/laravel-calendar-table
dibakar/laravel-ownership
steadrun/laravel-monitor
labyrinthe/connect-laravel
elmogy/layan
drewdan/sentinel-client
dskripchenko/laravel-llm
fatryst/nuonuo