composer require opcodesio/log-viewer
php artisan log-viewer:publish
php artisan vendor:publish --tag="log-viewer-config"
LOG_VIEWER_ENABLED=true
If you want to restrict log viewer for only authenticated user, you need to add this Authenticate middleware in config/log-viewer.php file
'middleware' => [
'web',
\App\Http\Middleware\Authenticate::class,
],
http://your_domain/log-viewer