alex-lyanik/yii2-viewlog

Yii 2 module for viewing the log files

dev-master 2018-05-09 09:14 UTC

This package is not auto-updated.

Last update: 2024-04-19 18:16:16 UTC


README

Simple log viewer for your admin panel.

Installation

The preferred way to install this extension is through composer.

Either run

composer require alex-lyanik/yii2-viewlog

or add

"alex-lyanik/yii2-viewlog": "*"

to the require section of your composer.json file.

Configuration

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

return [
    'modules' => [
        ...
        'log' => [
            'class' => 'alyanik\viewlog\Module',
        ],
        ...
    ]
];

The module will now be accessible from /viewlog where you can view a table of your logs

Built for

  • Yii2 - The web framework used

Screens

List: List

View: View

Acknowledgments

  • PSR-2 - PHP code style (plz)
  • Don't panic and carry a towel