schmeits / filament-pan-analytics-widget
A widget for pan (lightweight and privacy-focused PHP product analytics library)
Fund package maintenance!
schmeits
Requires
- php: ^8.3
- filament/filament: ^3.2
- panphp/pan: ^0.1.0
- spatie/laravel-package-tools: ^1.15.0
Requires (Dev)
- laravel/pint: ^1.0
- nunomaduro/collision: ^v8.4.0
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^v9.0
- pestphp/pest: ^3.0
- pestphp/pest-plugin-arch: ^3.0
- pestphp/pest-plugin-laravel: ^3.0
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- spatie/laravel-ray: ^1.26
README
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.
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
- Tally Schmeits
- Punyapal Shah for his contribution to Pinkary where I got some inspiration for a refactor
- All Contributors
License
The MIT License (MIT). Please see License File for more information.