It simplifies the process of viewing Laravel logs by providing a user-friendly interface to browse, filter, and manage log entries directly from the application. It allows developers to monitor and troubleshoot issues in real-time without needing to access the file system or navigate complex log files The current features are :
composer require sdtech/log-viewer-laravel
'providers' => [
// Other Service Providers...
Sdtech\LogViewerLaravel\Providers\LogViewerLaravelServiceProvider::class,
],
php artisan vendor:publish --tag=logviewerlaravel
'log_viewer_author' => env('LOGVIEWER_AUTHOR'),
'log_viewer_title' => env('LOGVIEWER_APP_TITLE'), // default LARAVEL
'max_file_size' => env('LOGVIEWER_MAX_FILE_SIZE'), // default 52428800
'pattern' => env('LOGVIEWER_PATTERN', '*.log'), // no need to change it
'storage_path' => env('LOGVIEWER_STORAGE_PATH', storage_path('logs')) // no need to change it
Route::get('log', [Sdtech\LogViewerLaravel\Controllers\LogViewerLaravelController::class, 'index']);
Go to http://your_url/log or some other route
How can I help you explore Laravel packages today?