PHP code example of osaris-uk / log-viewer

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

    

osaris-uk / log-viewer example snippets


    'routes' => [
        'name' => 'log',
        'prefix' => 'log',
        'middleware' => [
            'web'
        ]
    ]
bash
php artisan vendor:publish --provider="OsarisUk\LogViewer\LogViewerServiceProvider" --tag="config"
bash
php artisan vendor:publish --provider="OsarisUk\LogViewer\LogViewerServiceProvider" --tag="views"