jeroenpeters1986/statamic-matomo-widget 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

jeroenpeters1986/statamic-matomo-widget

最新稳定版本:1.0.2

Composer 安装命令:

composer require jeroenpeters1986/statamic-matomo-widget

包简介

Matomo stats by the dashboard light (widget)

README 文档

README

statamic-matomo-widget

Matomo Widget for Statamic

Statamic 3.3+ Latest Version on Packagist Number of downloads

Installation

Install via the Control Panel or via composer

composer require jeroenpeters1986/statamic-matomo-widget

Add environment variables

Add the following to your .env file:

MATOMO_URL=https://your-matomo-url
MATOMO_SITE_ID=1
MATOMO_API_TOKEN=your-token-auth

Enable Widget

Add widget to control panel configuration config/statamic/cp.php file.

e.g:

[
	'type' => 'matomo',
	'width' => 50,
],

Do your own customizations

You can publish the config file with the following command:

php artisan vendor:publish --tag=statamic-matomo-widget

This will create a config/statamic-matomo-widget.php file where you can customize the widget.

Support

I love to share with the community. Nevertheless, coding/learning/updating takes a lot of work, time and effort. You can contact me through my personal site https://jeroenpeters.com/contact, or if you have any issues with this package, please create an issue on GitHub.

If you like my software, feel free to buy me a coffee or two with Ko-Fi

Changelog

1.0.2

Updated docs, reverted the viewNamespace, merged config

1.0.1

Added loading-stuff

1.0.0

First version

License

This plugin is published under the MIT license.

Other..

Disclaimer

This add-on is not affiliated, associated, authorized, endorsed by, or in any way officially connected with Matomo / Piwiki, or any of its subsidiaries or its affiliates. This add-on merely enables users to easily access their stats.

Requirements

  • PHP 7.4 or 8.0
  • Laravel 7 or 8
  • Statamic 3.3+ (also includes Statamic v4 and v5)

I chose not to enforce these requirements in the composer.json, as it will probably stay compatible with newer versions of Statamic.

统计信息

  • 总下载量: 174
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-05-05