Download the PHP package wg-vn/trail-log-viewer without Composer
On this page you can find all versions of the php package wg-vn/trail-log-viewer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download wg-vn/trail-log-viewer
More information about wg-vn/trail-log-viewer
Files in wg-vn/trail-log-viewer
Package trail-log-viewer
Short Description Fast and easy-to-use log viewer for your Laravel application
License MIT
Homepage https://github.com/wg-vn/trail-log-viewer
Informations about the package trail-log-viewer
Log Viewer
Easy-to-use, fast, and beautiful
Features | Installation | Troubleshooting | Credits
Log Viewer is a perfect companion for your Laravel app.
You will no longer need to read the raw Laravel log files (and other types of logs) trying to find what you're looking for.
Log Viewer helps you quickly and clearly see individual log entries, to search, filter, and make sense of your Laravel logs fast. It is free and easy to install.
Features
- 📂 View all the Laravel logs in your
storage/logsdirectory, - 📂 View other types of logs - Horizon, Apache, Nginx, Redis, Supervisor, Postgres, and more,
- 🔍 Search the logs,
- 🎚 Filter by log level (error, info, debug, etc.),
- 🔗 Sharable links to individual log entries,
- 🌑 Dark mode,
- 📱 Mobile-friendly UI,
- 🖥️ Multiple host support,
- ⌨️ Keyboard accessible,
- 💾 Download & delete log files from the UI,
- ☑️ Horizon log support (up to Horizon v9.20),
- ☎️ API access for folders, files & log entries,
- 💌 Mail previews for e-mails sent to the logs,
- and more...
Get Started
Requirements
- PHP 8.5+
- Laravel 12+
Installation
To install the package via composer, Run:
After installing the package, publish the front-end assets by running:
Usage
Once the installation is complete, you will be able to access Log Viewer directly in your browser.
By default, the application is available at: {APP_URL}/log-viewer.
(for example: https://my-app.test/log-viewer)
Demo
To try Log Viewer without installing it into an application, clone this repository and run:
This starts a local Laravel app with sample logs at http://127.0.0.1:8000/log-viewer (or the next free port). Stop it with Ctrl+C.
Configuration
To customize Log Viewer, publish the config file with php artisan vendor:publish --tag="log-viewer-config" and edit config/log-viewer.php. Each option is documented inline.
Troubleshooting
Here are some common problems and solutions.
Problem: Logs not loading
Log Viewer supports Laravel, Horizon, Apache, Nginx, PHP-FPM, Redis, Supervisor, and Postgres log formats out of the box. If your log has a custom format, you will need to define your own custom log parser.
If your logs are still not showing up, make sure the web process, which Log Viewer runs on, has permission to read these logs.
For example, if you want to read the Apache HTTP access logs in /var/log/httpd, you will need to make sure that your web process (apache/httpd) has permission to read these files. On unix systems, you can do this with file ACLs.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
- wg-vn
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of trail-log-viewer with dependencies
illuminate/contracts Version ^12.0|^13.0
opcodesio/mail-parser Version ^0.2.4