code16/sharp-fathom-dashboard

Sharp package that adds a fathom dashboard

Fund package maintenance!
Code16

Installs: 0

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/code16/sharp-fathom-dashboard

v1.0.0 2025-10-21 15:51 UTC

This package is auto-updated.

Last update: 2025-10-24 08:48:57 UTC


README

A Laravel package designed to be used with Sharp to display a Fathom dashboard.

Installation

You can install the package via composer:

composer require code16/sharp-fathom-dashboard

You can publish and run the migrations with:

You can publish the config file with:

php artisan vendor:publish --tag="sharp-fathom-dashboard-config"

Usage

Setup required environment variables

FATHOM_API_KEY=
FATHOM_SITE_ID=
#Optional, will display a dashboard command to open Fathom
FATHOM_ACCESS_URL= 

Register the Dashboard Sharp's entity in your Sharp Configuration's Service Provider

$config
    ->setName('My Project')
    // ...
    ->declareEntity(Code16\SharpFathomDashboard\Sharp\Entities\FathomDashboardEntity::class);

Add the dashboard in your Sharp's Menu

    return $this
        // ...
        ->addEntityLink(Code16\SharpFathomDashboard\Sharp\Entities\FathomDashboardEntity::class, 'Statistiques', 'fas-chart-line');

Done !

Credits