Download the PHP package gboquizosanchez/filament-log-viewer without Composer
On this page you can find all versions of the php package gboquizosanchez/filament-log-viewer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download gboquizosanchez/filament-log-viewer
More information about gboquizosanchez/filament-log-viewer
Files in gboquizosanchez/filament-log-viewer
Package filament-log-viewer
Short Description Filament Log Viewer
License MIT
Homepage https://github.com/gboquizosanchez
Informations about the package filament-log-viewer
Overview
This plugin integrates a full-featured log viewer into any Filament panel. Browse log entries by level, filter by date, and inspect stack traces — all without leaving your admin interface.
Based on ARCANEDEV LogViewer.
Version compatibility
| Plugin | Filament |
|---|---|
| 1.x | 3.x |
| 2.x | 4.x – 5.x |
[!IMPORTANT] Version 1.x won't receive any further updates.
📦 Installation
Register the plugin in your panel provider (app/Providers/Filament/AdminPanelProvider.php):
Optionally, publish the configuration file:
[!IMPORTANT] Filament v4+ requires a custom theme. Follow the Filament docs to set one up, then add this line to your theme's CSS source:
🔧 Drivers
By default, the plugin reads from the LOG_CHANNEL defined in your .env. You can override this with a dedicated environment variable:
| Driver | Description |
|---|---|
daily |
Default — mirrors your LOG_CHANNEL=daily setting |
single |
Standard Laravel single-file driver |
raw |
Shows all log files; only available via FILAMENT_LOG_VIEWER_DRIVER |
If
FILAMENT_LOG_VIEWER_DRIVERis not set, the plugin falls back toLOG_CHANNEL.
⚙️ Configuration
All plugin options are chainable:
View in modal
By default, clicking "View" opens the log in a full page. You can enable modal mode instead.
Via .env:
Or programmatically:
When using modal view, you may want to block direct URL access to the ViewLog page by registering a custom page that denies access:
🧩 Custom Pages
You can extend the built-in pages to add your own behaviour.
Custom log list — e.g. auto-refresh every 30 seconds:
Custom log viewer — e.g. add an export action:
Then register your custom pages in the plugin:
🧪 Testing
Contributing
Contributions are welcome!
- 🐛 Report bugs via GitHub Issues
- 💡 Suggest features or improvements
- 🔧 Submit pull requests with fixes or enhancements
Credits
- Author: Germán Boquizo Sánchez
- Based on: ARCANEDEV LogViewer
- Contributors: View all contributors
📄 License
This package is open-source software licensed under the MIT License.