承接 jeffersongoncalves/filament-umami 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jeffersongoncalves/filament-umami

Composer 安装命令:

composer require jeffersongoncalves/filament-umami

包简介

This Laravel package seamlessly integrates Umami analytics into your Blade templates. Easily track website visits and user engagement directly within your Laravel application, providing valuable insights into your website's performance. This package simplifies the integration process, saving you tim

README 文档

README

Filament Umami

Filament Umami

Latest Version on Packagist GitHub Code Style Action Status Total Downloads License

This Filament package seamlessly integrates Umami analytics into your Blade templates. Easily track website visits and user engagement directly within your Laravel application, providing valuable insights into your website's performance. This package simplifies the integration process, saving you time and effort. With minimal configuration, you can leverage Umami's powerful analytics features to gain a clearer understanding of your audience and website usage.

Installation

You can install the package via composer:

composer require jeffersongoncalves/filament-umami

This package depends on jeffersongoncalves/laravel-umami which provides the core Umami analytics integration for Laravel applications.

Requirements

  • PHP 8.2 or higher
  • Laravel 11.0 or higher
  • Filament 5.0

Usage

1. Register the Plugin

Add the plugin to your PanelProvider:

use JeffersonGoncalves\Filament\Umami\UmamiPlugin;

public function panel(Panel $panel): Panel
{
    return $panel
        ->plugins([
            UmamiPlugin::make(),
        ]);
}

This will automatically:

  • Inject the Umami tracking script into your panel
  • Add a Settings Page to manage your Umami configuration

2. Run Settings Migration

If you haven't already, publish the spatie/laravel-settings migration to create the settings table:

php artisan vendor:publish --provider="Spatie\LaravelSettings\LaravelSettingsServiceProvider" --tag="migrations"

Then publish and run the Umami settings migration:

php artisan vendor:publish --tag=umami-settings-migrations
php artisan migrate

3. Manage Settings

Navigate to Settings > Umami Analytics in your Filament panel to configure:

  • Tracking Configuration - Website ID, Analytics Host, Host URL
  • Tracking Behavior - Auto Track, Exclude Search Parameters, Exclude Hash
  • Advanced Options - Domains filter, Custom Tag

Disabling the Settings Page

If you only want the tracking script injection without the settings page:

UmamiPlugin::make()
    ->settingsPage(false),

Testing

composer test

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

License

The MIT License (MIT). Please see License File for more information.

统计信息

  • 总下载量: 1.16k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-09-30

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固