yana / dr
PHP Log Parser LightWeight - updated 2021 - This package contains an authentication page and log display
Installs: 21 418
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 1
Open Issues: 0
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.