aimeos/laravel-analytics-matomo
Composer 安装命令:
composer require aimeos/laravel-analytics-matomo
包简介
Matomo Analytics driver for Laravel Analytics Bridge
README 文档
README
Matomo driver for Laravel Analytics bridge.
For API access, you need the API token from Matomo to authenticate API requests and access data programmatically. Follow these steps to retrieve it.
1. Log in to Matomo
- Open your Matomo instance in a web browser.
- Enter your username and password to log in.
2. Access Your User Settings
- Click on your username in the top-right corner of the dashboard.
- Select “Settings” (or “Personal” depending on Matomo version).
3. Find the API Token
- In the Settings page, look for the section labeled “API” or “API Access”.
- You will see a field called “Your API token” or
token_auth. - Copy the token. It typically looks like a long alphanumeric string.
4. Configure in Analytics Bridge
The ./config/analytics-bridge.php file already contains:
return [ 'default' => env('ANALYTICS_DRIVER'), 'drivers' => [ 'matomo' => [ 'url' => env('MATOMO_URL'), 'token' => env('MATOMO_TOKEN'), 'siteid' => env('MATOMO_SITEID'), ], /* ... */ ], /* ... */ ];
Add the required key/value pairs to your .env file:
ANALYTICS_DRIVER="matomo"
MATOMO_URL="..." # including "https://"
MATOMO_TOKEN="..."
MATOMO_SITEID="1" # or other value if you have multiple sites
aimeos/laravel-analytics-matomo 适用场景与选型建议
aimeos/laravel-analytics-matomo 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 20 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 09 月 03 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 aimeos/laravel-analytics-matomo 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 aimeos/laravel-analytics-matomo 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 20
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 14
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-2.1
- 更新时间: 2025-09-03