个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Integration for Matomo or Piwik analytics in OctoberCMS
翻译准备中
取自仓库 README
正在加载完整 README。
查看完整 README ↗Just a simple OctoberCMS plugin for embedding matomo analytics. These features are provided by the initial release of this plugin:
Requires PHP 8.0+ (the code uses match, str_contains and str_ends_with). The backend reports use the Laravel HTTP
client (Http::asForm(), Http::fake() in tests), which exists since Laravel 7, so reports need OctoberCMS 3.x or 4.x. On
OctoberCMS 1.x/2.x (Laravel 5.5/6) the Http alias points to October's own, differently shaped HTTP class and the reports do not work.
| OctoberCMS | Laravel | PHP (core) |
|---|---|---|
| 1.0 | 5.5 | 7.0+ |
| 1.1 / 2.x | 6 | 7.2+ |
| 3.0 - 3.7 | 9 / 10 | 8.0.2+ |
| 4.x | 12 | 8.1+ |
Sources: composer.json of octobercms/library and the OctoberCMS documentation.
To install this plugin, you can just run the following command:
php artisan plugin:install Renick.Matomo [email protected]:renickbuettner/matomo-plugin.git
Feel free to ask, raise ideas, mind bugs or contribute on the Github repository. Please create a new issue or pull request.
Future ideas:
Unit tests (PHPUnit, October PluginTestCase, in-memory SQLite) live in tests/. Run them from the OctoberCMS root:
php artisan plugin:test Renick.Matomo