PHPackages                             musingsz/yii2-audit - 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. musingsz/yii2-audit

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

musingsz/yii2-audit
===================

No bootstrap dependent,Yii2 Audit records and requests, database changes, php/js errors and associated data.

1.6(9y ago)024BSD 3-ClausePHPPHP &gt;=5.4.0

Since Mar 9Pushed 9y ago1 watchersCompare

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

READMEChangelog (10)Dependencies (4)Versions (16)Used By (0)

Yii2 Audit
==========

[](#yii2-audit)

Yii2 Audit records and displays web/cli requests, database changes, php/js errors and associated data.

Features
--------

[](#features)

### Powerful, yet Simple

[](#powerful-yet-simple)

- Installs as a simple module so it can be added without any hassle.
- You can either track specific actions and nothing else or exclude specific routes from logging (wildcard supported).
- View your data. The module contains a nice viewer that is automatically made available when you add it to your configuration. It has configurable permissions to limit access to this functionality by IPs, roles or users.

### Minimal Footprint

[](#minimal-footprint)

Tracks minimal data in the base entry:

- `user_id` - User ID of the visitor (if any), based on `Yii::$app->user->id`.
- `ip` - IP Address of the visitor.
- `request_method` - The method used to generate the request, eg: `CLI` for console requests and `GET`, `POST`, `DELETE`, `PUT`, `PATCH`, `OPTIONS` or `HEAD` for web requests.
- `ajax` - If the page was requested using ajax.
- `route` - The controller and action of the request.
- `duration` - How long the request took to serve.
- `memory_max` - The peak memory usage during the request.
- `created` - The datetime the entry was created.

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

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

Total

15

Last Release

3388d ago

Major Versions

0.9 → 1.02017-03-16

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

loggingAudityii2trail

### Embed Badge

![Health badge](/badges/musingsz-yii2-audit/health.svg)

```
[![Health](https://phpackages.com/badges/musingsz-yii2-audit/health.svg)](https://phpackages.com/packages/musingsz-yii2-audit)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[bedezign/yii2-audit

Yii2 Audit records and displays web/cli requests, database changes, php/js errors and associated data.

200688.7k4](/packages/bedezign-yii2-audit)[sammaye/yii2-audittrail

A port of audit trail

39414.9k](/packages/sammaye-yii2-audittrail)

PHPackages © 2026

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