PHPackages                             bariew/yii2-log-module - 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. bariew/yii2-log-module

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

bariew/yii2-log-module
======================

Log management from web views

1.0.2(3y ago)43572BSD-3-ClausePHP

Since Apr 4Pushed 3y ago1 watchersCompare

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

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

Yii2 log module.
================

[](#yii2-log-module)

Description
-----------

[](#description)

Manages system logs from web views.

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

[](#installation)

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

Either run

```
php composer.phar require --prefer-dist bariew/yii2-log-module "1.0.1"

```

or add

```
"bariew/yii2-log-module": "1.0.1"

```

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

Usage
-----

[](#usage)

- Add log component target and module in the main config components section:

```
    'components' => [
    ...
        'log' => [
            'targets' => [
                [
                    'class' => 'yii\log\DbTarget',
                    'levels' => ['error', 'warning'],
                    'logTable' => '{{%log_error}}',
                    'except' => [
                        'yii\web\HttpException:404',
                        'yii\web\HttpException:403',
                        'yii\web\HttpException:400',
                        'yii\i18n\PhpMessageSource::loadMessages'
                    ],
                ],
            ]
        ]
    ],
    'modules' => [
        ...
        'log' => [
            'class' => 'bariew\logModule\Module'
        ]
    ],

```

- Apply migrations from the module migrations folder.
- Go to log/error/index URL

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

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

Total

4

Last Release

1312d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8214f36975034f4134506744cd956e8415491006c1b3512af22bf75f91165f06?d=identicon)[bariew](/maintainers/bariew)

---

Top Contributors

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

---

Tags

logyii2module

### Embed Badge

![Health badge](/badges/bariew-yii2-log-module/health.svg)

```
[![Health](https://phpackages.com/badges/bariew-yii2-log-module/health.svg)](https://phpackages.com/packages/bariew-yii2-log-module)
```

###  Alternatives

[zhuravljov/yii2-logreader

Yii2 Log Reader

3331.7k](/packages/zhuravljov-yii2-logreader)[kriss/yii2-log-reader

Yii2 log reader

1242.1k1](/packages/kriss-yii2-log-reader)[opengento/module-webapi-logger

This module allows you to analyze all the webapi rest done call toward your Magento.

1016.9k](/packages/opengento-module-webapi-logger)

PHPackages © 2026

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