PHPackages                             schmeits/filament-pan-analytics-widget - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. schmeits/filament-pan-analytics-widget

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

schmeits/filament-pan-analytics-widget
======================================

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

v4.0.0(10mo ago)221.9k↓50%1[4 PRs](https://github.com/schmeits/filament-pan-analytics-widget/pulls)MITPHPPHP ^8.3CI passing

Since Oct 14Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/schmeits/filament-pan-analytics-widget)[ Packagist](https://packagist.org/packages/schmeits/filament-pan-analytics-widget)[ Docs](https://github.com/schmeits/filament-pan-analytics-widget)[ GitHub Sponsors](https://github.com/schmeits)[ RSS](/packages/schmeits-filament-pan-analytics-widget/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (14)Versions (11)Used By (0)

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

[](#a-widget-for-pan-lightweight-and-privacy-focused-php-product-analytics-library)

[![Latest Version on Packagist](https://camo.githubusercontent.com/c08f0dadbebfdb816b59920c234df4d5555758cd518f5807475824072db078f5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7363686d656974732f66696c616d656e742d70616e2d616e616c79746963732d7769646765742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/schmeits/filament-pan-analytics-widget)[![GitHub Tests Action Status](https://camo.githubusercontent.com/f0aa78ba9dd98295d2830160b7a3f62692153c13840bea378cc8e17cf9dda90d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7363686d656974732f66696c616d656e742d70616e2d616e616c79746963732d7769646765742f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/schmeits/filament-pan-analytics-widget/actions?query=workflow%3Arun-tests+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/0924f2e7bfd333f4bdecc6a44744bc4136a381425a5f14ac7b7c6c2f21d7ccbb/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7363686d656974732f66696c616d656e742d70616e2d616e616c79746963732d7769646765742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/schmeits/filament-pan-analytics-widget)

A Filament Widget for the [PanPHP plugin](https://github.com/panphp/pan) provides a user-friendly interface to monitor and interact with PAN instances directly from your Filament admin dashboard.

[![example-screenshot.png](https://github.com/schmeits/filament-pan-analytics-widget/raw/main/docs-assets/screenshots/pan-analytics-widget.png)](https://github.com/schmeits/filament-pan-analytics-widget/raw/main/docs-assets/screenshots/pan-analytics-widget.png)

Installation
------------

[](#installation)

> **Requires [PHP 8.3+](https://php.net/releases/), and [Laravel 11.0+](https://laravel.com)**.

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
-----

[](#usage)

### Add the plugin to your PanelProvider

[](#add-the-plugin-to-your-panelprovider)

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

### Options

[](#options)

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

### Add the Widget to your PanelProvider

[](#add-the-widget-to-your-panelprovider)

```
->widgets([
    \Schmeits\FilamentPanAnalyticsWidget\Widgets\PanAnalyticsTableWidget::class, //
