marcogermani87/filament-matomo

Easy Matomo tracker integration for Filament

v1.0.0 2024-05-16 21:08 UTC

This package is auto-updated.

Last update: 2024-11-08 04:27:40 UTC


README

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

A package to easily include Matomo tracker in Filament.

Version Compatibility

Installation

You can install the package via composer:

composer require marcogermani87/filament-matomo

You can publish the config file with:

php artisan vendor:publish --tag="filament-matomo-config"

This is the contents of the published config file:

return [

    'enabled' => env('FILAMENT_MATOMO_ENABLED', false),

    'base_url' => env('FILAMENT_MATOMO_BASE_URL'),

    'tracker_filename' => env('FILAMENT_MATOMO_TRACKER_FILENAME', 'matomo.php'),

    'site_id' => env('FILAMENT_MATOMO_SITE_ID'),

];

Usage

->plugin(\MarcoGermani87\FilamentMatomo\FilamentMatomo::make())

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Credits

License

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