New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

kiqstyle/eloquent-versionable

Versioning behaviour for eloquent models
22,440
Install
composer require kiqstyle/eloquent-versionable
Latest Version:v1.6.0
PHP:^8.5
Laravel:10 · 11 · 12
Older releases:5 – 9
License:MIT
Last Updated:Mar 9, 2026
Links: GitHub  ·  Packagist
Maintainer: caique_santos

Versioning behaviour for Eloquent models

Careful: Eloquent first method on versioned models will get the first result that doesn't has next value, meaning if you update the first register it will set a date to next column and it will find the next register with next column with value null, that could be another id

For contributors

  • INIT
    • RUN: 'make up'
    • RUN: 'make composer-install'
  • TESTS
    • RUN: 'make test'

Related Packages

spatie/eloquent-sortable

Sortable behaviour for eloquent models

31,133,838 1,517
ittest-dev/eloquent-sortable

Sortable behaviour for eloquent models

10,249 0
johankladder/eloquent-sortable

Sortable behaviour for eloquent models

1,089 0
jenssegers/model

An Laravel eloquent-like model class, for Laravel and other frameworks

4,754,764 394
pragmarx/version

Take control over your Laravel app version

1,254,499 591

Version History

Version Released PHP Laravel License
v1.6.0 ^8.5 ^10.0|^11.0|^12.0 MIT
v1.5.0 ^8.2 ^9.0|^10.0|^11.0 MIT
v1.4.0 ^8.2 ^9.0|^10.0|^11.0 MIT
v1.3.3 ^8.0 ^8.0|^9.0 MIT
v1.3.2 ^8.0 ^8.0|^9.0 MIT