xavicabot / filament-log-viewer
1.0.1
2025-02-19 11:22 UTC
Requires
- calebporzio/sushi: ^2.0
- filament/support: ^3.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
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.