PHPackages                             slavkovrn/yii2-logvisitor - 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. slavkovrn/yii2-logvisitor

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

slavkovrn/yii2-logvisitor
=========================

The Yii2 extension to log site requests and draw charts of these requests progress by calendar dates.

1.0.1(8y ago)36.4k↓50%[1 issues](https://github.com/SlavKoVrn/yii2-logvisitor/issues)MITPHP

Since Aug 22Pushed 8y ago3 watchersCompare

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

READMEChangelogDependencies (3)Versions (3)Used By (0)

Log site requests component and draw charts of these requests module for Yii 2.0 Framework
==========================================================================================

[](#log-site-requests-component-and-draw-charts-of-these-requests-module-for-yii-20-framework)

The Yii2 extension uses visualize.jQuery.js to draw progress charts of site requests logged by calendar dates.

[Log visitor demo page](http://yii2.kadastrcard.ru/logvisitor).

[![Log visitor](https://camo.githubusercontent.com/aa3cb6602f41eee611fc0d49d2fe8cfd855535b2e642462e3826653484a4e742/687474703a2f2f796969322e6b616461737472636172642e72752f75706c6f6164732f6c6f6776697369746f722e6a7067)](https://camo.githubusercontent.com/aa3cb6602f41eee611fc0d49d2fe8cfd855535b2e642462e3826653484a4e742/687474703a2f2f796969322e6b616461737472636172642e72752f75706c6f6164732f6c6f6776697369746f722e6a7067)

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

[](#installation)

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

Either run:

```
composer require slavkovrn/yii2-logvisitor
```

or add

```
"slavkovrn/yii2-logvisitor": "*"
```

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

Usage
-----

[](#usage)

**To make LogVisitorComponent log site requests**

- 1. add link to component in your config (in my case it's /config/web.php)

```
return [
    'components' => [
        'logvisitor' => [
            'class' => 'slavkovrn\logvisitor\LogVisitorComponent'
            'filterIp' => '127.0.0.1,213.87.',  /* comma separated substrings of IP  to be filtered of log in table , begining from first position  */
            'filterUri' => '/,debug',           /* comma separated substrings of URI to be filtered of log in table */
        ],
    ],
];
```

- 2. add link to log site requests automatically

```
return [
	'bootstrap' => ['log', 'logvisitor'],
];
```

**To draw charts of requests progress**

- 3. add link to LogVisitorModule in your config

```
return [
    'modules' => [
        'logvisitor' => [
            'class' => 'slavkovrn\logvisitor\LogVisitorModule',
        ],
    ],
];
```

and now you can see the charts of site requests in progress by calendar dates via  url

[write comments to admin](mailto:slavko.chita@gmail.com)

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance13

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity64

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

Total

2

Last Release

3180d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/30201456?v=4)[SlavKoVrn](/maintainers/slavkovrn)[@SlavKoVrn](https://github.com/SlavKoVrn)

---

Top Contributors

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

---

Tags

logyii2extensionchartsrequestsdraw

### Embed Badge

![Health badge](/badges/slavkovrn-yii2-logvisitor/health.svg)

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

###  Alternatives

[lav45/yii2-activity-logger

Tools to store user activity log for Yii2

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

Yii2 log reader

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

PHPackages © 2026

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