{"repo":"danilopolani/filament-plausible-widget","free":true,"listed":false,"github":"https://github.com/danilopolani/filament-plausible-widget","clone":"git clone https://github.com/danilopolani/filament-plausible-widget.git","description":"Add a fancy Plausible statistics widget to your Filament admin dashboard.","language":"PHP","stars":20,"topics":["laravel","filament","plausible-analytics","laravel-package","laravel-framework"],"license":"MIT","category":"dashboards-admin","readme_excerpt":"Filament Plausible Widget Add a fancy Plausible statistics widget to your Filament admin dashboard. If you're using Filament v1, please navigate the 1.x branch. Installation You can install the package via composer: Then publish the assets of the package: If you're upgrading from v1 to v2 please note that the namespace changed from \\Danilopolani\\ to \\DaniloPolani\\ . Filament v3 To properly see the widget in Filament v3, open your AdminPanelProvider file and add the widget in the - widgets() array: Upgrade When upgrading, you may want to republish the assets: Configuration You need only two env variables to display your Plausible widget: Env Description --- --- FILAMENT PLAUSIBLE TOKEN Your Plausible API key. Read more » FILAMENT PLAUSIBLE SITE ID The site ID you want to get statistics of. Read more » ---- If you want to go deeper you can publish the configuration file: There are a few notable configuration options for the package. token Your Plausible API key. You can obtain an API key for your account by going to your user settings page https://plausible.io/settings. site id The site ID you want to get statistics of. You can obtain this value by navigating to your site settings in Plausible and grab the \"value\" of the domain field. E.g. plausible.io/mysite.com becomes mysite.com . periods.default The period shown by default in the dashboard. Can be any of these values: day , 7d , 30d , month , 6mo , 12mo . Default: 7d . periods.selectable Choose if let users select a differe","default_branch":null,"files":null,"tree":[],"storefront":"/r/danilopolani","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/danilopolani/filament-plausible-widget/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}