Download the PHP package ahsanrazib/log-viewer without Composer
On this page you can find all versions of the php package ahsanrazib/log-viewer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ahsanrazib/log-viewer
More information about ahsanrazib/log-viewer
Files in ahsanrazib/log-viewer
Package log-viewer
Short Description A modern, interactive log viewer for Laravel applications
License MIT
Informations about the package log-viewer
Ahsanrazib Log Viewer
A modern, interactive, real-time log viewer for Laravel applications. Easily inspect, filter, search, download, and manage Monolog log files directly from your application's browser UI.
Features
- 📁 Multi-File Log Management: Automatically detects log files in
storage/logs(such aslaravel.logor daily rotated log files likelaravel-2026-09-27.log). - 🎨 Responsive UI with Dark/Light Mode: Self-contained Blade template using Tailwind CSS and Alpine.js. Works out-of-the-box without requiring frontend dependencies in the host application.
- 🏷️ Level Filter & Statistics: Live overview counts and filtering for
EMERGENCY,ALERT,CRITICAL,ERROR,WARNING,NOTICE,INFO, andDEBUGentries. - 🔍 Real-time Search: Search log entry messages, formatted context data, or stack traces instantly.
- ⚡ Live Polling / Auto-refresh: Configurable real-time polling (3s, 5s, 10s intervals) for live log monitoring.
- 📬 Email Digest Notifications: Periodic email alerts of error logs in production (e.g. logs from the last 30 minutes).
- 🔑 Passkey Protection: Restrict log viewer access with a configurable secret passkey.
- ⚡ Management Actions:
- Copy log entry to clipboard with 1-click button.
- Download raw
.logfile. - Clear log file content.
- Delete log file.
Installation
You can install the package via composer:
Publish the package configuration file and views (optional):
Configuration (config/log-viewer.php)
Environment Variables
Email Digest Notifications
The email notification feature parses logs that occurred in the last specified time interval (default 30 minutes) and sends an HTML summary email to configured recipients.
Schedule Command
To run periodic email checks, schedule the command in routes/console.php:
Testing
Run tests via Pest:
License
The MIT License (MIT).
All versions of log-viewer with dependencies
illuminate/support Version ^10.0|^11.0|^12.0
illuminate/routing Version ^10.0|^11.0|^12.0
illuminate/view Version ^10.0|^11.0|^12.0