PHP code example of vektormuhammadlutfi / codeigniter-log-viewer

1. Go to this page and download the library: Download vektormuhammadlutfi/codeigniter-log-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/ */

    

vektormuhammadlutfi / codeigniter-log-viewer example snippets


   use \VektorMuhammadLutfi\CodeIgniterLogViewer\CILogViewer;
   

   $logViewer = new CILogViewer();
   

   echo $logViewer->showLogs();
   

   

   of your CodeIgniter 4 bootstrap code...
   

   use \VektorMuhammadLutfi\CodeIgniterLogViewer\CILogViewer;
   

   $logViewer = new CILogViewer();
   

   echo $logViewer->showLogs();