rabol/filament-logviewer

Logviewer for Filament admin

v0.20 2024-01-16 12:04 UTC

This package is auto-updated.

Last update: 2024-04-16 12:38:11 UTC


README

Logo

Logviewer for Filament admin

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Log viewer for Filament, The elegant TALLkit for Laravel artisans.

Installation

You can install the package via composer:

composer require rabol/filament-logviewer

You can publish the config file with:

php artisan vendor:publish --tag="filament-logviewer-config"

Optionally, you can publish the views using

php artisan vendor:publish --tag="filament-logviewer-views"

This is the contents of the published config file:

// config for Rabol/FilamentLogviewer
return [
    'navigation_group' => 'System',
];

Usage

Add the Rabol\FilamentLogviewer\FilamentLogviewerPlugin to your panel config.

use Rabol\FilamentLogviewer\FilamentLogviewerPlugin;

class AdminPanelProvider extends PanelProvider
{
    public function panel(Panel $panel): Panel
    {
        return $panel
            // ...
            ->plugin(
                FilamentLogviewerPlugin::make()
            );
    }
}

Note

This package uses calebporzio/sushi package, which relies on sqlite

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.