yana/dr
Composer 安装命令:
composer require yana/dr
包简介
PHP Log Parser LightWeight - updated 2021 - This package contains an authentication page and log display
README 文档
README
QuickLogs - Log Parser ! PHP Error Log Parser
Parse quickly (in 5 minutes) your php errors and php warnings via a web browser. if you are tired of 'tail -f' or 'cat error_log' QuickLogs is your solution !
Windows server and Unix Server compatible - yay !
Features
- QuickAuthentication
- QuickLogs Parser - Php Error Log
Composer
composer require yana/dr
How To use it in your web page
<?php require_once __DIR__.'vendor/autoload.php'; $authenticationInstance = new \Yana\Authentication\QuickAuthentication(); $quickLogs = new \Yana\Logs\QuickLogs($authenticationInstance); $quickLogs->process();
Set Up PHP Error Log path in vendor/yana/dr/Yana/Logs/conf.php
<?php /** * Setup Error Log file * * @author David Raleche * @link david.raleche.com * * @since 2019-05-10 **/ return [ 'error_log_path' => '/var/log/php-fpm/www-error.log', 'error_log_path_backup' => __DIR__.'\demo\www-error.log' ];
Default Credentials
username : admin password : davidr
Command Lines for PSR-2 Standard
./bin/phpcs -p --extensions=php --standard=PSR2 --error-severity=1 --warning-severity=0 ./src ./tests
Contributing
Feel free to submit Github Issues or pull requests.
统计信息
- 总下载量: 22.5k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-05-13