A Filament plugin for Laravel Route Statistics package.
This package provides a Filament page for Laravel Route Statistics.
- PHP 8.1 | 8.2
- Filament 3
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"
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.