schmeits/filament-pan-analytics-widget

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

0.4 2024-10-18 09:10 UTC

This package is auto-updated.

Last update: 2024-12-18 09:27:06 UTC


README

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.