Log Viewer is a Laravel package that provides a web-based interface for viewing and analyzing application logs.
The tool solves the problem of manually parsing raw log files by offering a searchable, filterable interface for Laravel logs and other common log types. It reads logs from the storage directory and presents them in a structured format, allowing developers to quickly locate specific entries by searching, filtering by log level, or browsing individual files. The interface includes support for multiple log formats including Horizon, Apache, Nginx, Redis, Supervisor, and Postgres logs, with the ability to define custom parsers for unsupported formats.
Log Viewer suits Laravel applications where developers need quick access to logs during development and debugging. It works best for teams that want to avoid SSH access to servers or manual log file inspection. The package is free and installs as a standard Composer dependency, requiring only PHP 8.0 and Laravel 8 or later. The interface is mobile-friendly and includes dark mode, making it accessible across different environments. Additional capabilities include shareable links to individual log entries, mail preview functionality for emails sent to logs, API access for programmatic log retrieval, and the ability to download or delete log files directly from the UI.
The project maintains active development with regular updates supporting newer Laravel versions. The codebase shows consistent attention to user experience through features like keyboard accessibility and multiple host support. Documentation is comprehensive and maintained separately on an official website, indicating a structured approach to supporting users beyond the repository itself.