PHPackages                             hamidrezaniazi/laramist - 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. hamidrezaniazi/laramist

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

hamidrezaniazi/laramist
=======================

Laravel model history package

1.0.2(5y ago)367MITPHPPHP ^7.2CI failing

Since Oct 20Pushed 5y ago1 watchersCompare

[ Source](https://github.com/hamidrezaniazi/laramist)[ Packagist](https://packagist.org/packages/hamidrezaniazi/laramist)[ Docs](https://github.com/hamidrezaniazi/laramist)[ RSS](/packages/hamidrezaniazi-laramist/feed)WikiDiscussions master Synced today

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

Laramist - Laravel Model History (5.8+)
=======================================

[](#laramist---laravel-model-history-58)

[![Latest Version on Packagist](https://camo.githubusercontent.com/a5fe5842765bcfe21c1ea7934becdb27802c36c7355cb45de92e35c1f0fc79a8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f68616d696472657a616e69617a692f6c6172616d6973742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/hamidrezaniazi/laramist)[![Build Status](https://camo.githubusercontent.com/d288b878136c85e82c4482d8fb79fda1feb94248b15b3e4615e457415f4f93d9/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f68616d696472657a616e69617a692f6c6172616d6973742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/hamidrezaniazi/laramist)[![StyleCI](https://camo.githubusercontent.com/b3de85386c731dc9ca7e9406a221811672415cab90361fe31c975293444ac8d6/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3231333734353139372f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/213745197)[![Quality Score](https://camo.githubusercontent.com/c5484cc31fc0044230ec41f1f40517f5821bb0506430796c3fbceb84782c65a0/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f68616d696472657a616e69617a692f6c6172616d6973742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/hamidrezaniazi/laramist)[![Total Downloads](https://camo.githubusercontent.com/16bb8d5227a25dd9d7e0ddfcf119c6319c6ffccd63e63fba7e40080b936ffc57/68747470733a2f2f706f7365722e707567782e6f72672f68616d696472657a616e69617a692f6c6172616d6973742f646f776e6c6f616473)](https://packagist.org/packages/hamidrezaniazi/laramist)[![License](https://camo.githubusercontent.com/f19f4d92190645a72000858d9c43656fef35fc1266e8a930c195189648d7b31b/68747470733a2f2f706f7365722e707567782e6f72672f68616d696472657a616e69617a692f6c6172616d6973742f6c6963656e7365)](https://packagist.org/packages/hamidrezaniazi/laramist)

The logging model's changes have never been easier like this.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require hamidrezaniazi/laramist
```

You can publish the migration with:

```
php artisan vendor:publish --provider="Hamidrezaniazi\Laramist\LaramistServiceProvider" --tag="migrations"
```

After publishing the migration you can create the model\_histories table by running the migrations:

```
php artisan migrate
```

Usage
-----

[](#usage)

You should just use the trait bellow in the model which you want log its changes.

```
use ModelHistoryTrait;
```

### Testing

[](#testing)

```
composer test
```

### Changelog

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Hamidreza Niazi](https://github.com/hamidrezaniazi)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~163 days

Total

3

Last Release

2070d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cdc4212304aae8b1b271fb643cc038070c33840585650aef3ccc95547a2c8ac3?d=identicon)[hamidrezaniazi](/maintainers/hamidrezaniazi)

---

Top Contributors

[![hamidrezaniazi](https://avatars.githubusercontent.com/u/33026895?v=4)](https://github.com/hamidrezaniazi "hamidrezaniazi (11 commits)")

---

Tags

hamidrezaniazilaramist

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hamidrezaniazi-laramist/health.svg)

```
[![Health](https://phpackages.com/badges/hamidrezaniazi-laramist/health.svg)](https://phpackages.com/packages/hamidrezaniazi-laramist)
```

###  Alternatives

[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[cybercog/laravel-love

Make Laravel Eloquent models reactable with any type of emotions in a minutes!

1.2k302.7k1](/packages/cybercog-laravel-love)[cviebrock/eloquent-taggable

Easy ability to tag your Eloquent models in Laravel.

567694.8k3](/packages/cviebrock-eloquent-taggable)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[genealabs/laravel-pivot-events

This package introduces new eloquent events for sync(), attach(), detach() or updateExistingPivot() methods on BelongsToMany relation.

1404.9M8](/packages/genealabs-laravel-pivot-events)[reedware/laravel-relation-joins

Adds the ability to join on a relationship by name.

2121.2M13](/packages/reedware-laravel-relation-joins)

PHPackages © 2026

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