PHPackages                             grenhaz/yii2-userlog - 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. grenhaz/yii2-userlog

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

grenhaz/yii2-userlog
====================

Yii2 Log file by user

1.0.0(8y ago)06MITPHP

Since Mar 13Pushed 8y agoCompare

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

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

User logging Extension for Yii 2
================================

[](#user-logging-extension-for-yii-2)

For license information check the [LICENSE](LICENSE.md)-file.

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist grenhaz/yii2-userlog

```

or add

```
"grenhaz/yii2-userlog": "~1.0.0"
```

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

Basic Usage
-----------

[](#basic-usage)

```
'log' => [
	'targets' => [
		[
			'class' => 'grenhaz/userlog/UserLogger',
			'name' => 'user_basic',
		],
	],
],
```

Log file location:

```
runtime/logs/{user_id}/{name}.log

```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 64.7% 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

3030d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/36473174?v=4)[Óscar Barcia Tomé](/maintainers/grenhaz)[@grenhaz](https://github.com/grenhaz)

---

Top Contributors

[![obarciasiga](https://avatars.githubusercontent.com/u/28298710?v=4)](https://github.com/obarciasiga "obarciasiga (11 commits)")[![grenhaz](https://avatars.githubusercontent.com/u/36473174?v=4)](https://github.com/grenhaz "grenhaz (6 commits)")

---

Tags

logloggingphpyii2loglogging

### Embed Badge

![Health badge](/badges/grenhaz-yii2-userlog/health.svg)

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

###  Alternatives

[monolog/monolog

Sends your logs to files, sockets, inboxes, databases and various web services

21.4k997.8M7.9k](/packages/monolog-monolog)[symfony/monolog-bundle

Symfony MonologBundle

2.9k258.2M1.7k](/packages/symfony-monolog-bundle)[sentry/sentry

PHP SDK for Sentry (http://sentry.io)

1.9k240.0M315](/packages/sentry-sentry)[sentry/sentry-laravel

Laravel SDK for Sentry (https://sentry.io)

1.3k122.6M186](/packages/sentry-sentry-laravel)[rap2hpoutre/laravel-log-viewer

A Laravel log reader

3.2k15.2M77](/packages/rap2hpoutre-laravel-log-viewer)[sentry/sdk

This is a meta package of sentry/sentry. We recommend using sentry/sentry directly.

327137.6M163](/packages/sentry-sdk)

PHPackages © 2026

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