PHPackages                             kiqstyle/eloquent-versionable - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. kiqstyle/eloquent-versionable

ActiveLibrary[Database &amp; ORM](/categories/database)

kiqstyle/eloquent-versionable
=============================

Versioning behaviour for eloquent models

v1.6.0(2mo ago)017.5k↓27.4%2[4 PRs](https://github.com/kiqstyle/eloquent-versionable/pulls)MITPHPPHP ^8.5CI failing

Since May 31Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/kiqstyle/eloquent-versionable)[ Packagist](https://packagist.org/packages/kiqstyle/eloquent-versionable)[ RSS](/packages/kiqstyle-eloquent-versionable/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (12)Versions (21)Used By (0)

Versioning behaviour for Eloquent models
========================================

[](#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
================

[](#for-contributors)

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

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance68

Regular maintenance activity

Popularity28

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity86

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~165 days

Recently: every ~288 days

Total

16

Last Release

70d ago

PHP version history (7 changes)v1.0.0PHP ^7.1

v1.1.0PHP ^7.2.5

v1.2.0PHP ^7.4

v1.3.0PHP ^8.0

v1.1.2PHP &gt;=7.4

v1.4.0PHP ^8.2

v1.6.0PHP ^8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/1bad0cbe92d5210cb4caad82683ebd960ff49d48147c6a0d97a0068e146fe32f?d=identicon)[caique\_santos](/maintainers/caique_santos)

---

Top Contributors

[![CaiqueCohros](https://avatars.githubusercontent.com/u/68613075?v=4)](https://github.com/CaiqueCohros "CaiqueCohros (27 commits)")[![kiqstyle](https://avatars.githubusercontent.com/u/8885147?v=4)](https://github.com/kiqstyle "kiqstyle (18 commits)")[![alisson04](https://avatars.githubusercontent.com/u/5869754?v=4)](https://github.com/alisson04 "alisson04 (17 commits)")[![mlajx](https://avatars.githubusercontent.com/u/19790686?v=4)](https://github.com/mlajx "mlajx (3 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

laravelmodeleloquentbehaviourversioningversion

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/kiqstyle-eloquent-versionable/health.svg)

```
[![Health](https://phpackages.com/badges/kiqstyle-eloquent-versionable/health.svg)](https://phpackages.com/packages/kiqstyle-eloquent-versionable)
```

###  Alternatives

[spatie/eloquent-sortable

Sortable behaviour for eloquent models

1.5k22.9M268](/packages/spatie-eloquent-sortable)[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k7.2M71](/packages/mongodb-laravel-mongodb)[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[dyrynda/laravel-model-uuid

This package allows you to easily work with UUIDs in your Laravel models.

4802.8M8](/packages/dyrynda-laravel-model-uuid)[spiritix/lada-cache

A Redis based, automated and scalable database caching layer for Laravel

591444.8k2](/packages/spiritix-lada-cache)[pdphilip/elasticsearch

An Elasticsearch implementation of Laravel's Eloquent ORM

145360.2k4](/packages/pdphilip-elasticsearch)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
