個人 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