Download the PHP package devlogx/filament-pirsch-dashboard-widget without Composer
On this page you can find all versions of the php package devlogx/filament-pirsch-dashboard-widget. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download devlogx/filament-pirsch-dashboard-widget
More information about devlogx/filament-pirsch-dashboard-widget
Files in devlogx/filament-pirsch-dashboard-widget
Package filament-pirsch-dashboard-widget
Short Description This is my package filament-pirsch-dashboard-widget
License MIT
Homepage https://github.com/devlogx/filament-pirsch-dashboard-widget
Informations about the package filament-pirsch-dashboard-widget

Filament Pirsch Dashboard Widget
This package allows you to integrate a simple analytics dashboard widget for panel.
Screenshots
Installation
You can install the package via composer:
Get the Pirsch access token and add it your env
file.
- Visit the Pirsch "Integration" settings page.
- Make sure the correct domain is selected in the top left corner of the page.
- Scroll down to the "Clients" section and press the "Add Client" button.
- Select "oAuth (ID + secret)" as type and enter a description.
- Press the "Create Client" button and copy the generated "Client id and Client secret".
- Add the copied id and secret to your
.env
file:
You can publish the config file with:
Optionally, you can publish the translations using
This is the contents of the published config file:
Usage
Create own Dashboard file
Under Filament/Pages/
create a new file called Dashboard.php
with following contents:
Remove the default Dashboard from your PanelProvider
Alternatively if you already have a custom Dashboard, add the HasFilter
trait to your Dashboard file.
Add the Widget to your PanelProvider
Add the plugin to your PanelProvider
Configure the plugin
Using the raw Analytics functions
You can use the functions for your own widgets. There are plenty more available.
Get Dashboard link
Defining the Filter
Get different data
Testing
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
- Develogix Agency
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-pirsch-dashboard-widget with dependencies
filament/filament Version ^3.0
malzariey/filament-daterangepicker-filter Version ^2.6
pirsch-analytics/laravel-pirsch Version ^0.4.9
spatie/laravel-package-tools Version ^1