Download the PHP package munch/filament-logviewer without Composer
On this page you can find all versions of the php package munch/filament-logviewer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package filament-logviewer
Filament Logviewer
A simple and powerful Filament plugin to view, filter, and manage Laravel log files directly from your admin panel.
Features
- ๐ View all log files from
storage/logs - ๐ Parse and display log entries with full context
- ๐ฏ Filter by log level (emergency, alert, critical, error, warning, notice, info, debug)
- ๐ Filter by date/time range
- ๐ Search across log messages and context
- ๐๏ธ Delete individual or multiple log files
- ๐งน Empty log files without deleting them
- ๐จ Color-coded log levels for easy identification
- โก Optimized for large log files
Requirements
- PHP 8.4+
- Laravel 12.0+
- Filament 4.0+
Installation
Option A: From Packagist (Recommended)
Install via composer:
Option B: Local Development
For local development, add this to your Laravel project's composer.json:
Then require the package:
Usage
Register the plugin in your Filament Panel Provider (e.g., app/Providers/Filament/AdminPanelProvider.php):
The plugin will automatically register itself and appear in your Filament admin panel navigation under the "Settings" group.
Configuration
Publish the config file (optional):
Customize the behavior in config/filament-logviewer.php:
Features Detail
Log File Management
- View All Logs: Browse all log files in
storage/logswith file size and last modified date - Delete Logs: Remove individual or multiple log files
- Empty Logs: Clear log file contents without deleting the file
Log Viewing & Filtering
- Detailed View: Click "View" on any log file to see parsed entries
- Filter by Level: Filter logs by severity (emergency, alert, critical, error, warning, notice, info, debug)
- Date Range Filter: Filter logs by timestamp range
- Search: Global search across log messages and context
- Auto-refresh: Log viewer automatically refreshes every 30 seconds
Log Entry Display
Each log entry shows:
- Timestamp
- Log level (color-coded badge)
- Environment
- Message
- Context and stack traces (expandable)
Performance
- Large files (>10MB) are automatically handled with optimized reading
- Only the most recent entries are loaded for very large files
- Pagination prevents memory issues
- Configurable per-page limits
License
MIT License
All versions of filament-logviewer with dependencies
filament/filament Version ^4.0
illuminate/contracts Version ^12.0|^13.0
spatie/laravel-package-tools Version ^1.14.0