PHPackages                             katanyoo/yii2-activerecord-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. katanyoo/yii2-activerecord-history

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

katanyoo/yii2-activerecord-history
==================================

This extension for keep track what your users are doing within your application is to log their activities related to database modifications.

v1.8(8y ago)0195GPL-3.0+PHP

Since Jan 28Pushed 8y ago1 watchersCompare

[ Source](https://github.com/katanyoo/yii2-activerecord-history)[ Packagist](https://packagist.org/packages/katanyoo/yii2-activerecord-history)[ RSS](/packages/katanyoo-yii2-activerecord-history/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (1)Versions (11)Used By (0)

ActiveRecord History
====================

[](#activerecord-history)

This extension for keep track what your users are doing within your application is to log their activities related to database modifications.

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist katanyoo/yii2-activerecord-history "*"

```

or add

```
"katanyoo/yii2-activerecord-history": "*"

```

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

If you are using DBManager as Manager, you need to run

```
php yii migrate/up --migrationPath=@vendor/katanyoo/yii2-activerecord-history/migrations

```

or if you want to use another DB, you can add

```
--db=db2

```

Usage
-----

[](#usage)

Once the extension is installed, simply use it in your code by :

```
```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity69

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

Every ~18 days

Recently: every ~30 days

Total

10

Last Release

3231d ago

Major Versions

v0.1 → v1.02017-01-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/3f0278359a82d7c56e2feac560cfa08ba68e2bdf217e43ba9560384c1803bf6e?d=identicon)[katanyoo](/maintainers/katanyoo)

---

Top Contributors

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

---

Tags

historyyii2extensionBehavioractiverecord

### Embed Badge

![Health badge](/badges/katanyoo-yii2-activerecord-history/health.svg)

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

###  Alternatives

[mito/yii2-sentry

Yii 2 extension for Sentry

92377.7k](/packages/mito-yii2-sentry)[sammaye/yii2-audittrail

A port of audit trail

39408.2k](/packages/sammaye-yii2-audittrail)[lav45/yii2-activity-logger

Tools to store user activity log for Yii2

3456.3k](/packages/lav45-yii2-activity-logger)

PHPackages © 2026

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