xavicabot / filament-log-viewer
Installs: 118
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/xavicabot/filament-log-viewer
Requires
- calebporzio/sushi: ^2.0
- filament/support: ^3.0|^4.0
- spatie/laravel-package-tools: ^1.9
Requires (Dev)
- orchestra/testbench: ^9.0
- phpunit/phpunit: ^11.0
README
This package allows you to easily add a log viewer to your Filament application. Inspired in rap2hpoutre/laravel-log-viewer
Compatible with Filament v3 and v4.
Installation
Require the package using composer:
composer require xavicabot/filament-log-viewer
Publish the assets:
php artisan vendor:publish --provider="Xavicabot\FilamentLogViewer\FilamentLogViewerServiceProvider"
Usage
This plugin adds a 'Log Viewer' functionality in your filament panel(s), letting you view your logs in a more user-friendly way.
Registering the plugin
use XaviCabot\FilamentLogViewer\FilamentLogViewerPlugin; public function panel(Panel $panel): Panel { return $panel ->plugins([ FilamentLogViewerPlugin::make(), ]) }
Configuration
Once you have published the assets, you can configure the package by editing the config/filament-log-viewer.php file.