Log Viewer
Log Viewer stats
- Downloads
- 986.1K
- Stars
- 2,850
- Open Issues
- 6
- Forks
- 180
Fast and easy-to-use log viewer for your Laravel application
Log Viewer for Laravel
Log Viewer by OPcodes is a powerful, user-friendly tool designed to enhance the way you interact with logs in your Laravel applications. It eliminates the need to sift through raw log files by providing a structured, intuitive interface to view, search, and manage logs directly from a web browser.
Key Features
- Comprehensive Log Viewing: Access all Laravel logs stored in the
storage/logsdirectory, as well as logs from other systems like Horizon, Apache, Nginx, Redis, and more. - Search and Filter: Easily search through logs and filter entries by log level (error, info, debug, etc.).
- User-Friendly Interface: Features a mobile-friendly UI, dark mode, and keyboard accessibility.
- Management Tools: Download and delete log files directly from the UI.
- Multi-Host Support: Manage logs from multiple hosts in one place.
- API Access: Programmatically retrieve folders, files, and log entries.
- Additional Features: Includes sharable links to specific log entries, mail previews for logged emails, and Horizon log support.
Installation
Prerequisites
- PHP version 8.0 and above.
- Laravel 8 or higher.
Steps
-
Install via composer:
composer require opcodesio/log-viewer -
Publish the front-end assets:
php artisan log-viewer:publish
Accessing Log Viewer
After installation, Log Viewer can be accessed at {APP_URL}/log-viewer (e.g., https://my-app.test/log-viewer).
Documentation and Support
- Detailed documentation is available on the official Log Viewer website.
- For troubleshooting common issues such as logs not loading, refer to the official documentation.
Enhancements and Community Contributions
Log Viewer is open to contributions from the developer community. For guidelines on contributing and reporting security vulnerabilities, check the official repository documentation.
Summary
Log Viewer is an essential tool for developers looking to streamline log management in Laravel applications. With its rich set of features and easy integration, it provides a significant improvement over manually browsing log files, packaged in a sleek, responsive UI.