PHPackages                             qvalent/yii2-models-history - 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. [Logging &amp; Monitoring](/categories/logging)
4. /
5. qvalent/yii2-models-history

ActiveYii2-extension[Logging &amp; Monitoring](/categories/logging)

qvalent/yii2-models-history
===========================

Save model updates history to db

v1.0(10y ago)1231BSD-3-ClausePHP

Since Feb 16Pushed 10y ago1 watchersCompare

[ Source](https://github.com/vryabov1/yii2-models-history)[ Packagist](https://packagist.org/packages/qvalent/yii2-models-history)[ RSS](/packages/qvalent-yii2-models-history/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Model updates history stored in DB
==================================

[](#model-updates-history-stored-in-db)

Extension is automatically saves all ActiveRecords inserts, updates and deletes at table `{{%models_history}}`

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist qvalent/yii2-models-history "*"

```

or add

```
"qvalent/yii2-models-history": "*"

```

to the require section of your `composer.json` file.

Then apply migration:

```
php yii migrate --migrationPath="@vendor/qvalent/yii2-models-history/migrations"

```

Usage
-----

[](#usage)

No other steps required. Extension is working now, you can test it by update some project ActiveRecord and see updates in `{{%models_history}}`.

Feel free to create issues if something is wrong.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Unknown

Total

1

Last Release

3787d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4595443?v=4)[Qasim](/maintainers/qvalent)[@qvalent](https://github.com/qvalent)

---

Top Contributors

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

---

Tags

logmodelhistoryyii2extensionsave

### Embed Badge

![Health badge](/badges/qvalent-yii2-models-history/health.svg)

```
[![Health](https://phpackages.com/badges/qvalent-yii2-models-history/health.svg)](https://phpackages.com/packages/qvalent-yii2-models-history)
```

###  Alternatives

[lav45/yii2-activity-logger

Tools to store user activity log for Yii2

3459.5k](/packages/lav45-yii2-activity-logger)[kriss/yii2-log-reader

Yii2 log reader

1242.1k1](/packages/kriss-yii2-log-reader)

PHPackages © 2026

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