PHPackages                             rodrigopedra/laravel-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. rodrigopedra/laravel-versionable

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

rodrigopedra/laravel-versionable
================================

Allows to create Laravel 5.6 and 6.0 Model versioning and restoring

v0.4.0(3y ago)354MITPHPPHP ^7.2.5|^8.0

Since May 1Pushed 3y ago1 watchersCompare

[ Source](https://github.com/rodrigopedra/laravel-versionable)[ Packagist](https://packagist.org/packages/rodrigopedra/laravel-versionable)[ Docs](http://github.com/rodrigopedra/laravel-versionable)[ RSS](/packages/rodrigopedra-laravel-versionable/feed)WikiDiscussions master Synced today

READMEChangelog (3)Dependencies (5)Versions (5)Used By (0)

Versionable
===========

[](#versionable)

Easy to use Model versioning for Laravel 5.6
--------------------------------------------

[](#easy-to-use-model-versioning-for-laravel-56)

> Based on

Keep track of all your model changes and revert to previous versions of it.

```
// Restore to the previous change
$content->previousVersion()->revert();

// Get model from a version
$oldModel = Version::find(100)->getModel();
```

License
-------

[](#license)

Laravel Versionable is free software distributed under the terms of the [MIT license](https://opensource.org/licenses/MIT).

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 75% of commits — single point of failure

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 ~499 days

Total

4

Last Release

1433d ago

PHP version history (2 changes)v0.1.0PHP ^7.1.3

v0.4.0PHP ^7.2.5|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/28b79e134ef3cb5144da8f2c5af057533fcdf0afc1b7b083e8eafbbc8ee08a67?d=identicon)[rodrigo.pedra](/maintainers/rodrigo.pedra)

---

Top Contributors

[![mpociot](https://avatars.githubusercontent.com/u/804684?v=4)](https://github.com/mpociot "mpociot (63 commits)")[![rodrigopedra](https://avatars.githubusercontent.com/u/5470108?v=4)](https://github.com/rodrigopedra "rodrigopedra (11 commits)")[![emilv](https://avatars.githubusercontent.com/u/1684914?v=4)](https://github.com/emilv "emilv (2 commits)")[![oschettler](https://avatars.githubusercontent.com/u/124634?v=4)](https://github.com/oschettler "oschettler (2 commits)")[![nhowell](https://avatars.githubusercontent.com/u/200475?v=4)](https://github.com/nhowell "nhowell (1 commits)")[![Cyrille37](https://avatars.githubusercontent.com/u/368965?v=4)](https://github.com/Cyrille37 "Cyrille37 (1 commits)")[![williamoliveira](https://avatars.githubusercontent.com/u/6340344?v=4)](https://github.com/williamoliveira "williamoliveira (1 commits)")[![dubcanada](https://avatars.githubusercontent.com/u/120325?v=4)](https://github.com/dubcanada "dubcanada (1 commits)")[![geoffbeaumont](https://avatars.githubusercontent.com/u/3082468?v=4)](https://github.com/geoffbeaumont "geoffbeaumont (1 commits)")[![michaelachrisco](https://avatars.githubusercontent.com/u/398491?v=4)](https://github.com/michaelachrisco "michaelachrisco (1 commits)")

---

Tags

laravelmodelhistoryrestoreversion

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rodrigopedra-laravel-versionable/health.svg)

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

###  Alternatives

[mongodb/laravel-mongodb

A MongoDB based Eloquent model and Query builder for Laravel

7.1k7.2M71](/packages/mongodb-laravel-mongodb)[mpociot/versionable

Allows to create Laravel 4 / 5 / 6 / 7 / 8 / 9 / 10 / 11 Model versioning and restoring

7841.1M6](/packages/mpociot-versionable)[dyrynda/laravel-model-uuid

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

4802.8M8](/packages/dyrynda-laravel-model-uuid)[tucker-eric/eloquentfilter

An Eloquent way to filter Eloquent Models

1.8k4.8M26](/packages/tucker-eric-eloquentfilter)[watson/validating

Eloquent model validating trait.

9723.3M47](/packages/watson-validating)[cybercog/laravel-ban

Laravel Ban simplify blocking and banning Eloquent models.

1.1k651.8k11](/packages/cybercog-laravel-ban)

PHPackages © 2026

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