melihovv/laravel-log-viewer
A lightweight Laravel package that adds a web interface for viewing your application's log files. Browse log entries in the browser, filter by level or date, and inspect errors quickly without SSH or command-line access to the server.
composer require melihovv/laravel-log-viewer. Confirm the service provider is auto-discovered in composer.json; on older Laravel versions you may need to add it to config/app.php manually.php artisan route:list | grep -i log to find the actual route the package registers (commonly something like /logs). Open it in a browser while running locally.php artisan vendor:publish --provider="Melihovv\LaravelLogViewer\LogViewerServiceProvider" (inspect vendor/melihovv/laravel-log-viewer/src for the exact provider and config keys before assuming names).vendor/melihovv/laravel-log-viewer/src (routes, controller, reader/parser class, config) and the README. With only 10 stars and a 2020 release, the source is the documentation.storage/logs/laravel.log, filter to ERROR, and copy the stack trace. It replaces tail -f when you want level filtering and file switching in a browser.web + auth, and gate by environment (e.g. only register/bind the viewer when app()->environment(['local','staging'])). Never let it be reachable unauthenticated in production.storage/logs/services.log).php artisan tinker or a small Artisan command) to tail or grep logs headlessly. Verify the class name in src first — the API surface is thin and version-specific.Log::channel(...); use the viewer only for human inspection of the same files.composer require in a throwaway branch; older packages often lean on facades/contracts or Blade syntax that later Laravel releases changed. Budget for maintaining a fork.daily logs and verbose output this can be slow or memory-heavy. Rotate aggressively (daily), lower LOG_LEVEL in non-local environments, and don't assume a filtered view reflects the entire file.storage/logs. Silent empty views are usually a permissions problem (chmod/chown), not a parser bug.php artisan config:clear (and route:clear if you changed the route). Otherwise changes appear ignored.php artisan route:list, composer dump-autoload, and inspection of the service provider resolve most "route not found" / "class not found" issues.opcodesio/log-viewer and rap2hpoutre/laravel-log-viewer are more actively maintained and cover the same day-to-day use case.How can I help you explore Laravel packages today?