marcogermani87 / filament-matomo
为 Filament 提供简单的 Matomo 跟踪器集成
v1.0.0
2024-05-16 21:08 UTC
Requires
- php: ^8.1
- filament/filament: ^3.0
- illuminate/contracts: ^10.0|^11.0
- laravel/framework: ^10.0|^11.0
- spatie/laravel-package-tools: ^1.14.0
Requires (Dev)
- larastan/larastan: ^2.9
- laravel/pint: ^1.0
- nunomaduro/collision: ^7.9|^8.0
- orchestra/testbench: ^8.0|^9.0
- pestphp/pest: ^2.0
- pestphp/pest-plugin-arch: ^2.0
- pestphp/pest-plugin-laravel: ^2.0
- pestphp/pest-plugin-livewire: ^2.1
- phpstan/extension-installer: ^1.3
- phpstan/phpstan-deprecation-rules: ^1.1
- phpstan/phpstan-phpunit: ^1.3
- spatie/laravel-ray: ^1.35
README
一个易于将 Matomo 跟踪器包含在 Filament 中的包。
版本兼容性
安装
您可以通过 composer 安装此包
composer require marcogermani87/filament-matomo
您可以使用以下命令发布配置文件
php artisan vendor:publish --tag="filament-matomo-config"
这是已发布配置文件的内容
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())
测试
composer test
变更日志
请参阅 CHANGELOG 了解最近更改的更多信息。
鸣谢
许可证
MIT 许可证 (MIT)。请参阅 许可证文件 了解更多信息。