fishtail/laravel-log-viewer
Simple Laravel/Lumen log viewer for Laravel 5–8 (compatible with 4.2). Install via Composer, register the service provider, and add a route to LogViewerController@index. No published assets or vendor routes; works with rotated logs.
storage/logs/).LogViewerController).tail -f storage/logs/laravel.log suffice, or are UI features critical?storage/logs/ (default location).composer require rap2hpoutre/laravel-log-viewer
Route::get('/logs', 'LogViewerController@index')).LogViewerController for custom filters/layouts.laravel-log-rotate or native logrotate.laravel.log.1) may not be accessible without manual configuration.LogViewerController to point to non-standard paths (e.g., /var/log/app/).Log:: facade for programmatic log access if UI fails.flock() in custom extensions or switch to a database-backed solution.| Scenario | Impact | Mitigation |
|---|---|---|
| Log file corruption | Broken UI, missing logs | Backup logs; exclude corrupted files. |
| Permission denied | 403 errors | Ensure storage/logs/ is readable. |
| Log rotation misconfig | Missing recent logs | Test rotation in staging first. |
| High traffic | Slow responses | Add caching (e.g., Redis) for logs. |
tail).LogViewerController hits) to gauge adoption.How can I help you explore Laravel packages today?