PHP code example of schmeits / filament-pan-analytics-widget
1. Go to this page and download the library: Download schmeits/filament-pan-analytics-widget library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
schmeits / filament-pan-analytics-widget example snippets
->plugins([
\Schmeits\FilamentPanAnalyticsWidget\FilamentPanAnalyticsWidgetPlugin::make()
])
->plugins([
\Schmeits\FilamentPanAnalyticsWidget\FilamentPanAnalyticsWidgetPlugin::make()
->searchable() // display a search for the name column
])
->widgets([
\Schmeits\FilamentPanAnalyticsWidget\Widgets\PanAnalyticsTableWidget::class, // <-- add this widget
])
bash
php artisan vendor:publish --tag="filament-pan-analytics-widget-translations"