PHP code example of cherry-project / logs-viewer

1. Go to this page and download the library: Download cherry-project/logs-viewer 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/ */

    

cherry-project / logs-viewer example snippets




use Cherry\Log\LogViewer;

define('LOGS_PATH', __DIR__ . '/var/logs');

$viewer = new LogViewer();

$viewer->render();