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
Filament Log Viewer
Summary
This package allows you to manage and keep track of each one of your log files in Filament panels.
Based on ARCANEDEV LogViewer.
Starting π
Prerequisites π
- Composer.
- PHP version 8.3 or higher.
Running π οΈ
Install the package via composer:
And register the plugin on /app/Providers/Filament/AdminPanelProvider.php
You can also publish the configuration file to customize the package:
[!IMPORTANT] In v4 it's necessary to set up a custom theme following the instructions in the Filament Docs first.
After setting up the custom theme, you need to add this line, if not, the plugin will not work properly.
π§ Drivers
By default, the plugin uses LOG_CHANNEL as the driver.
To override this behavior, set the environment variable in your .env
file:
π Available Drivers
Driver | Description |
---|---|
daily | Default driver used by the plugin |
single | Standard Laravel single driver |
raw | Only available when explicitly using FILAMENT_LOG_VIEWER_DRIVER; shows all log files |
π Note:
If FILAMENT_LOG_VIEWER_DRIVER
is not defined, the plugin will continue using LOG_CHANNEL
.
Example .env
configuration
Use the default LOG_CHANNEL (daily):
Or override to use raw with FILAMENT_LOG_VIEWER_DRIVER:
Others configurations
Custom Pages Configuration
You can customize the plugin pages by extending the base classes:
Then register your custom pages in the plugin configuration:
Screenshots π
PHP dependencies π¦
Develop dependencies π§
Problems? π¨
Let me know about yours by opening an issue!
Credits π§βπ»
- GermΓ‘n Boquizo SΓ‘nchez
- All Contributors
License π
MIT License (MIT). See License File.