PHP code example of marcogermani87 / filament-matomo
1. Go to this page and download the library: Download marcogermani87/filament-matomo library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
marcogermani87 / filament-matomo example snippets
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'),
];
->plugin(\MarcoGermani87\FilamentMatomo\FilamentMatomo::make())
bash
php artisan vendor:publish --tag="filament-matomo-config"