kiqstyle / eloquent-versionable
Versioning behaviour for eloquent models
v1.6.0
2026-03-09 12:00 UTC
Requires
- php: ^8.5
- illuminate/database: ^10.0|^11.0|^12.0
Requires (Dev)
- nunomaduro/phpinsights: ^2.11
- orchestra/testbench: ^v10.9.0
- phpmd/phpmd: ^2.15
- phpunit/phpunit: ^11.0|^12.0
- squizlabs/php_codesniffer: *
This package is auto-updated.
Last update: 2026-07-09 12:39:18 UTC
README
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'