Skip to content

schmeits/filament-pan-analytics-widget

Repository files navigation

A widget for pan (lightweight and privacy-focused PHP product analytics library)

Latest Version on Packagist GitHub Tests Action Status Total Downloads

A Filament Widget for the PanPHP plugin provides a user-friendly interface to monitor and interact with PAN instances directly from your Filament admin dashboard.

example-screenshot.png

Installation

Requires PHP 8.3+, and Laravel 11.0+.

You can install the package via composer:

composer require schmeits/filament-pan-analytics-widget

Optionally, you can publish the translations

php artisan vendor:publish --tag="filament-pan-analytics-widget-translations"

Usage

Add the plugin to your PanelProvider

->plugins([
    \Schmeits\FilamentPanAnalyticsWidget\FilamentPanAnalyticsWidgetPlugin::make()
])

Options

->plugins([
    \Schmeits\FilamentPanAnalyticsWidget\FilamentPanAnalyticsWidgetPlugin::make()
        ->searchable() // display a search for the name column       
])

Add the Widget to your PanelProvider

->widgets([
    \Schmeits\FilamentPanAnalyticsWidget\Widgets\PanAnalyticsTableWidget::class, // <-- add this widget
])

Testing

composer test

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.