kiqstyle/eloquent-versionable

Versioning behaviour for eloquent models
22,150
Install
composer require kiqstyle/eloquent-versionable
Latest Version:v1.6.0
PHP:^8.5
Laravel:10 · 11 · 12
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

ittest-dev/eloquent-sortable

Sortable behaviour for eloquent models

10,249 0
johankladder/eloquent-sortable

Sortable behaviour for eloquent models

1,089 0
spatie/eloquent-sortable

Sortable behaviour for eloquent models

29,834,737 1,519
proai/eloquent-versioning

An extension for the Eloquent ORM to support versioning.

25,953 71

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