PHPackages                             jeffersongoncalves/filament-mixpanel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. jeffersongoncalves/filament-mixpanel

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

jeffersongoncalves/filament-mixpanel
====================================

Filament plugin for Mixpanel analytics — tracking script injection and Settings Page to manage Mixpanel configuration directly from your Filament panel. Supports Filament v3, v4, and v5.

3.1.0(1w ago)219MITPHPPHP ^8.2CI passing

Since Feb 23Pushed 1w ago1 watchersCompare

[ Source](https://github.com/jeffersongoncalves/filament-mixpanel)[ Packagist](https://packagist.org/packages/jeffersongoncalves/filament-mixpanel)[ Docs](https://github.com/jeffersongoncalves/filament-mixpanel)[ GitHub Sponsors](https://github.com/jeffersongoncalves)[ RSS](/packages/jeffersongoncalves-filament-mixpanel/feed)WikiDiscussions 3.x Synced today

READMEChangelog (9)Dependencies (16)Versions (12)Used By (0)

[![Filament Mixpanel](https://raw.githubusercontent.com/jeffersongoncalves/filament-mixpanel/3.x/art/jeffersongoncalves-filament-mixpanel.png)](https://raw.githubusercontent.com/jeffersongoncalves/filament-mixpanel/3.x/art/jeffersongoncalves-filament-mixpanel.png)

Filament Mixpanel
=================

[](#filament-mixpanel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/f206e7f3ec4d2bb7dc6c92429bc7bfa75267a2fd58d4837b1b87a6d7f232e44c/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6a6566666572736f6e676f6e63616c7665732f66696c616d656e742d6d697870616e656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jeffersongoncalves/filament-mixpanel)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/30971e01bb5537cbd384eb9e0301d691c6d8c62bc858c05b54db8af6d96d39e9/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6a6566666572736f6e676f6e63616c7665732f66696c616d656e742d6d697870616e656c2f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d332e78266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/jeffersongoncalves/filament-mixpanel/actions?query=workflow%3A%22Fix+PHP+code+styling%22+branch%3A3.x)[![Total Downloads](https://camo.githubusercontent.com/05a02664a4a455f8b7682ed9698362ff4e5dd0989c1eedceccfbdb5723f436d3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6a6566666572736f6e676f6e63616c7665732f66696c616d656e742d6d697870616e656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/jeffersongoncalves/filament-mixpanel)[![License](https://camo.githubusercontent.com/a1ad52ccd1e5781f4f71a44f78e4a05a36189050e1e35bd1e38de9112d6fe1ee/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6a6566666572736f6e676f6e63616c7665732f66696c616d656e742d6d697870616e656c2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

Filament plugin for Mixpanel analytics — tracking script injection and Settings Page to manage Mixpanel configuration directly from your Filament panel. Supports Filament v3, v4, and v5.

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require jeffersongoncalves/filament-mixpanel
```

This package depends on [jeffersongoncalves/laravel-mixpanel](https://github.com/jeffersongoncalves/laravel-mixpanel) which provides the core Mixpanel analytics integration for Laravel applications.

Requirements
------------

[](#requirements)

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

Usage
-----

[](#usage)

### 1. Register the Plugin

[](#1-register-the-plugin)

Add the plugin to your `PanelProvider`:

```
use JeffersonGoncalves\Filament\Mixpanel\MixpanelPlugin;

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

This will automatically:

- Inject the Mixpanel tracking script into your panel
- Add a **Settings Page** to manage your Mixpanel configuration

### 2. Run Settings Migration

[](#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 Mixpanel settings migration:

```
php artisan vendor:publish --tag=mixpanel-settings-migrations
php artisan migrate
```

### 3. Manage Settings

[](#3-manage-settings)

Navigate to **Settings &gt; Mixpanel Analytics** in your Filament panel to configure:

- **Project Configuration** — Project Token, API Host, Custom Library URL
- **Tracking &amp; Debug** — Debug Mode, Autocapture, Track Page Views
- **Storage &amp; Cookies** — Persistence method, Cookie Expiration, Secure Cookie, Cross Subdomain
- **Privacy &amp; Geolocation** — IP Geolocation, Property Blacklist, Opt Out by Default, UTM Persistence
- **Advanced Features** — Session Recording percentage, Heatmap Data collection

### Disabling the Settings Page

[](#disabling-the-settings-page)

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

```
MixpanelPlugin::make()
    ->settingsPage(false),
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Jefferson Goncalves](https://github.com/jeffersongoncalves)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance98

Actively maintained with recent releases

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 88.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~11 days

Recently: every ~0 days

Total

12

Last Release

11d ago

Major Versions

v1.0.0 → v2.0.02026-02-23

v2.0.0 → v3.0.02026-02-23

v2.0.1 → v3.0.12026-03-04

1.1.0 → 3.x-dev2026-06-23

PHP version history (2 changes)v1.0.0PHP ^8.2|^8.3

v3.0.0PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/411493?v=4)[Jefferson Gonçalves](/maintainers/jeffersongoncalves)[@jeffersongoncalves](https://github.com/jeffersongoncalves)

---

Top Contributors

[![jeffersongoncalves](https://avatars.githubusercontent.com/u/411493?v=4)](https://github.com/jeffersongoncalves "jeffersongoncalves (23 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")

---

Tags

analyticsfilamentfilament-pluginfilament-settingslaravelmixpanelmixpanel-analyticsphpspatie-laravel-settingstrackinglaravelSettingsanalyticsfilamentmixpaneljeffersongoncalvesfilament-mixpanel

###  Code Quality

Static AnalysisPHPStan

### Embed Badge

![Health badge](/badges/jeffersongoncalves-filament-mixpanel/health.svg)

```
[![Health](https://phpackages.com/badges/jeffersongoncalves-filament-mixpanel/health.svg)](https://phpackages.com/packages/jeffersongoncalves-filament-mixpanel)
```

###  Alternatives

[ysfkaya/filament-phone-input

A phone input component for Laravel Filament

3161.3M25](/packages/ysfkaya-filament-phone-input)[finity-labs/fin-mail

A powerful email template manager and composer for Filament with dynamic token replacement, template versioning, and inline email sending.

284.5k1](/packages/finity-labs-fin-mail)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)[stephenjude/filament-feature-flags

Filament implementation of feature flags and segmentation with Laravel Pennant.

122177.8k1](/packages/stephenjude-filament-feature-flags)[stephenjude/filament-jetstream

A Laravel starter kit built with Filament inspired by Jetstream.

17760.2k3](/packages/stephenjude-filament-jetstream)[stephenjude/filament-two-factor-authentication

Filament Two Factor Authentication: Google 2FA + Passkey Authentication

84215.9k9](/packages/stephenjude-filament-two-factor-authentication)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
