opcodesio / log-viewer
Fast and easy-to-use log viewer for your Laravel application
Fund package maintenance!
arukompas
www.buymeacoffee.com/arunas
Installs: 3 208 199
Dependents: 18
Suggesters: 1
Security: 0
Stars: 3 533
Watchers: 22
Forks: 255
Open Issues: 12
Requires
- php: ^8.0
- illuminate/contracts: ^8.0|^9.0|^10.0|^11.0
- opcodesio/mail-parser: ^0.1.6
Requires (Dev)
- guzzlehttp/guzzle: ^7.2
- itsgoingd/clockwork: ^5.1
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.0|^8.0
- orchestra/testbench: ^7.6|^8.0|^9.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- spatie/test-time: ^1.3
Suggests
- guzzlehttp/guzzle: Required for multi-host support. ^7.2
Conflicts
- arcanedev/log-viewer: ^8.0
- dev-main
- 3.x-dev
- v3.12.0
- v3.11.2
- v3.11.1
- v3.11.0
- v3.10.2
- v3.10.1
- v3.10.0
- v3.9.0
- v3.8.1
- v3.8.0
- v3.7.1
- v3.7.0
- v3.6.0
- v3.5.0
- v3.4.0
- v3.3.1
- v3.3.0
- v3.2.0
- v3.1.12
- v3.1.11
- v3.1.10
- v3.1.9
- v3.1.8
- v3.1.7
- v3.1.6
- v3.1.5
- v3.1.4
- v3.1.3
- v3.1.2
- v3.1.1
- v3.1.0
- v3.0.4
- v3.0.3
- v3.0.2
- v3.0.1
- v3.0.0
- 2.x-dev
- v2.5.6
- v2.5.5
- v2.5.4
- v2.5.3
- v2.5.2
- v2.5.1
- v2.5.0
- v2.4.1
- v2.4.0
- v2.3.2
- v2.3.1
- v2.3.0
- v2.2.2
- v2.2.1
- v2.2.0
- v2.1.1
- v2.1.0
- v2.0.2
- v2.0.1
- v2.0.0
- 1.x-dev
- v1.9.1
- v1.9.0
- v1.8.0
- v1.7.2
- v1.7.1
- v1.7.0
- v1.6.5
- v1.6.4
- v1.6.3
- v1.6.2
- v1.6.1
- v1.6.0
- v1.5.3
- v1.5.2
- v1.5.1
- v1.5.0
- v1.4.5
- v1.4.4
- v1.4.3
- v1.4.2
- v1.4.1
- v1.4.0
- v1.3.3
- v1.3.2
- v1.3.1
- v1.3.0
- v1.2.10
- v1.2.9
- v1.2.8
- v1.2.7
- v1.2.6
- v1.2.5
- v1.2.4
- v1.2.3
- v1.2.2
- v1.2.1
- v1.2.0
- v1.1.2
- v1.1.1
- v1.1.0
- v1.0.6
- v1.0.5
- v1.0.4
- v1.0.3
- v1.0.2
- v1.0.1
- v1.0.0
- dev-bug/trimming-null-values
- dev-improvement/file-identifier-based-on-machine
- dev-improvement/allow-not-to-verify-certificate-when-proxying
- dev-access-logs-with-v2-reader
This package is auto-updated.
Last update: 2024-11-11 11:18:47 UTC
README
Log Viewer
Easy-to-use, fast, and beautiful
Documentation | Features | Installation | Troubleshooting | Credits
OPcodes's 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.
📺 Watch a quick 4-minute video showcasing some Log Viewer features.
Features
- 📂 View all the Laravel logs in your
storage/logs
directory, - 📂 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...
Documentation
Documentation can be found on the official website.
Get Started
Requirements
- PHP 8.0+
- Laravel 8+
Installation
To install the package via composer, Run:
composer require opcodesio/log-viewer
After installing the package, publish the front-end assets by running:
php artisan log-viewer:publish
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
)
Configuration
Please visit the Log Viewer Docs to learn about configuring Log Viewer to your needs.
Troubleshooting
Here are some common problems and solutions.
Problem: Logs not loading
Please see this page for support log formats. If your log has a custom format, or is not supported by Log Viewer out of the box, 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.
Screenshots
Read the release blog post for screenshots and more information about Log Viewer's features.
The release of v2 includes a few new features in v2.
The release of v3 includes a few new features in v3.
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.