Download the PHP package devlogx/filament-fathom-dashboard-widget without Composer
On this page you can find all versions of the php package devlogx/filament-fathom-dashboard-widget. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download devlogx/filament-fathom-dashboard-widget
More information about devlogx/filament-fathom-dashboard-widget
Files in devlogx/filament-fathom-dashboard-widget
Package filament-fathom-dashboard-widget
Short Description This is my package filament-fathom-dashboard-widget
License MIT
Homepage https://github.com/devlogx/filament-fathom-dashboard-widget
Informations about the package filament-fathom-dashboard-widget
Filament Fathom 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 Fathom API-Token and add it your env
file.
- Visit the Fathom "API" settings page.
- Login and click "Create New".
- Give your token a name.
- Select under Permissions "Site-specific key".
- Select your Site and below "Read".
- Add the copied API-Token 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-fathom-dashboard-widget with dependencies
filament/filament Version ^3.0
malzariey/filament-daterangepicker-filter Version ^2.6
marcreichel/laravel-fathom Version ^0.10.0
spatie/laravel-package-tools Version ^1.15.0