log-viewer-laravel maintained by logviewerlaravel
Description
A Laravel log reader With Modify Time
Author
Last update
2023/10/31 11:21
(dev-main)
License
Downloads
25
Tags
logviewerlaravel
TL;DR
Log Viewer for Laravel 5, 6, 7, 8 & 9. Install with composer.
Install (Laravel)
Install via composer
composer require logviewerlaravel/log-viewer-laravel
Add a route in your web routes file:
Route::get('logs', [\LogViewerLaravel\LogViewerController::class, 'index'])->name('log.viewer');
Route::get('logs/logs_view', [\LogViewerLaravel\LogViewerController::class, 'view']);
Go to http://yourwebsitename/logs or some other route
Advanced usage
Customize view
Publish log.blade.php into /resources/views/vendor/laravel-log-viewer/ for view customization:
php artisan vendor:publish \
--provider="ViewerLogic\LogViewerLaravelProvider" \
--tag=views
Edit configuration
Publish logviewer.php configuration file into /config/ for configuration customization:
php artisan vendor:publish \
--provider="ViewerLogic\LogViewerLaravelProvider"