PHP code example of zhuravljov / yii2-logreader
1. Go to this page and download the library: Download zhuravljov/yii2-logreader 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/ */
zhuravljov / yii2-logreader example snippets
return [
'bootstrap' => ['logreader'],
'modules' => [
'logreader' => [
'class' => 'zhuravljov\yii\logreader\Module',
'aliases' => [
'Frontend Errors' => '@frontend/runtime/logs/app.log',
'Backend Errors' => '@backend/runtime/logs/app.log',
'Console Errors' => '@console/runtime/logs/app.log',
],
],
],
];
php composer.phar