Download the PHP package texxasrulez/matomo_analytics without Composer

On this page you can find all versions of the php package texxasrulez/matomo_analytics. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package matomo_analytics

Roundcube Matomo Analytics

Packagist Downloads Packagist Version Github License GitHub Stars GitHub Issues GitHub Contributors GitHub Forks Donate Paypal

This plugin integrates Matomo Analytics into Roundcube by injecting the official Matomo tracking snippet on rendered pages.

Why this exists

Older Roundcube plugins targeted Piwik (Matomo's former name). This plugin is a clean Matomo-first replacement with simple configuration and privacy-aware defaults.


Features


Installation

A) Composer (recommended)

From your Roundcube installation root:

This will install the plugin into plugins/matomo_analytics/.

B) Manual installation

  1. Download the release archive.
  2. Extract into your Roundcube plugins/ directory so it looks like:

Configuration

Note on Matomo URL: You may set matomo_analytics_url to a full URL (https://analytics.example.com/matomo) or a relative path (e.g., /matomo). The plugin normalizes relative values to an absolute URL using window.location.origin. If you see .../mail/matomo.js 404s, your URL was relative without a leading slash (matomo); use /matomo or the full URL.

Copy the sample config and edit values:

Open plugins/matomo_analytics/config.inc.php and set:


Enabling the plugin

Edit config/config.inc.php in your Roundcube installation and add the plugin:

Clear Roundcube caches if necessary:


How it works

The plugin hooks into Roundcube's render_page event and injects the official Matomo loader:

When respect_dnt is enabled, the plugin checks the browser's DNT flags and skips injection if enabled. When disable_for_authenticated is true, no tracking is injected for logged-in users.


Debugging

Set options in plugins/matomo_analytics/config.inc.php:

View logs at logs/matomo_analytics (or your custom channel). Entries are JSON-encoded with event tags like init, render_page:start, render_page:skip:*, render_page:injected, render_page:error.

Smoke test

  1. Enable the plugin and set debug_enabled = true.
  2. Load Roundcube UI and check:
    • View Source: find the Matomo snippet, and optionally the <!-- matomo_analytics: injected tracking snippet --> comment.
    • logs/matomo_analytics: verify entries for injection and config.
  3. Toggle disable_for_authenticated and respect_dnt to verify skip paths.

Debugging & Verification

Enable debug in plugins/matomo_analytics/config.inc.php:

Open the Roundcube UI:

Common blockers

Extras

Requirements


Uninstall

Composer:

Manual: delete the plugins/matomo_analytics/ directory.


License

MIT


All versions of matomo_analytics with dependencies

PHP Build Version
Package Version
Requires php Version >=7.4
composer/installers Version ^2.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package texxasrulez/matomo_analytics contains the following files

Loading the files please wait ...