PHPackages                             adeattwood/yii2-log-viewer - 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. adeattwood/yii2-log-viewer

ActiveProject[Logging &amp; Monitoring](/categories/logging)

adeattwood/yii2-log-viewer
==========================

Yii 2 module for viewing the log files

1(8y ago)31.9k2BSD-2-ClauseCSS

Since Jul 21Pushed 8y ago1 watchersCompare

[ Source](https://github.com/AdeAttwood/yii2-log-viewer)[ Packagist](https://packagist.org/packages/adeattwood/yii2-log-viewer)[ RSS](/packages/adeattwood-yii2-log-viewer/feed)WikiDiscussions master Synced 3w ago

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

Log viewer module for yii2
==========================

[](#log-viewer-module-for-yii2)

This module renders the yii2 logs into a easier to read format. The module also provide sorting and filtering functionality.

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

[](#installation)

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

Either run

```
composer require adeattwood/yii2-log-viewer

```

or add

```
"adeattwood/yii2-log-viewer": "*"

```

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

Configuration
-------------

[](#configuration)

Once the extension is installed, simply modify your application configuration as follows:

```
return [
    'bootstrap' => [ 'log-viewer' ],
    'modules' => [
        'log-viewer' => [
            'class' => 'adeattwood\logviewer\Module',
            // other configuration
        ],
        // ...
    ],
    // ...
];
```

The module will now be accessible from `/log-viewer` where you can view a table of your logs

Other Configuration
-------------------

[](#other-configuration)

```
'log-viewer' => [
    'class' => 'adeattwood\logviewer\Module',
    'logLimit' => 10000,   // The amount of log items to send to the view.
    'logCacheTime' => 30,  // The amount of time the log items will be cached in seconds.
    'pageCacheTime' => 30, // The amount of time the page html will be cached in seconds.
    'tableColors' => true  // Different colors for different log levels in the table.
    'allowedIPs' => [      // The ip addressed allowed to access the logs view.
        '127.0.0.1',
        '192.168.0.*',
        '::1'
    ],
],
```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community9

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

Total

2

Last Release

3262d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/14832454?v=4)[Ade Attwood](/maintainers/AdeAttwood)[@AdeAttwood](https://github.com/AdeAttwood)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/adeattwood-yii2-log-viewer/health.svg)

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

###  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)[mito/yii2-sentry

Yii 2 extension for Sentry

91380.4k](/packages/mito-yii2-sentry)[yii2mod/yii2-cron-log

Component for logging cron jobs

2228.2k1](/packages/yii2mod-yii2-cron-log)

PHPackages © 2026

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