PHP code example of alexdin / yii2-log-reader
1. Go to this page and download the library: Download alexdin/yii2-log-reader library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
alexdin / yii2-log-reader example snippets
'modules' => [
'log-reader'=>[
'class'=>'alexdin\logreader\Module',
'params'=>[
'logs'=>[
'@backend',
'@frontend'
// or custom Alias to your applications or absolute path to log file.
]
]
],
],
https://admin.your_domain/log-reader/read