Skip to content

marcogermani87/filament-matomo

Repository files navigation

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

Plugin Filament Laravel PHP
1.x 3.x 10.x 8.x
1.x 3.x 11.x 8.2 | 8.3

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.