amendozaaguiar/filament-route-statistics

Filament route statictics viewer

3.0.0 2024-03-28 22:24 UTC

This package is auto-updated.

Last update: 2024-11-09 13:43:42 UTC


README

Latest Version on Packagist Total Downloads

Filament Route Statistics

A Filament plugin for Laravel Route Statistics package.

This package provides a Filament page for Laravel Route Statistics.

Requirements

Dependencies

Installation

You can install the plugin via Composer:

composer require amendozaaguiar/filament-route-statistics

You can publish the translations files with:

php artisan vendor:publish --tag="filament-route-statistics-translations"

Using the Page

Add this plugin to a panel on plugins() method. E.g. in app/Providers/Filament/AdminPanelProvider.php:

use Amendozaaguiar\FilamentRouteStatistics\FilamentRouteStatisticsPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        // ...
        ->plugins([
            FilamentRouteStatisticsPlugin::make(),
            //...
        ]);
}

That's it! Now you can see the log page on left sidebar.