Download the PHP package cv-chameleon/laravel-matomo-tracker without Composer
On this page you can find all versions of the php package cv-chameleon/laravel-matomo-tracker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download cv-chameleon/laravel-matomo-tracker
More information about cv-chameleon/laravel-matomo-tracker
Files in cv-chameleon/laravel-matomo-tracker
Package laravel-matomo-tracker
Short Description A Laravel facade/wrapper for the matomo/matomo-php-tracker for server side Matomo tracking.
License
Homepage https://github.com/cv-chameleon/laravel-matomo-tracker
Informations about the package laravel-matomo-tracker
LaravelMatomoTracker
About
The cv-chameleon\laravel-matomo-tracker
Laravel package is a wrapper for the piwik\piwik-php-tracker
. The Piwik php tracker allows serverside tracking.
Features
- LaravelMatomoTracker Facade
- Queued tracking requests in Laravel queue
Feel free to suggest new features.
Installation
Via Composer
Require the cv-chameleon\laravel-matomo-tracker
package in your composer.json
and update your dependencies:
Publish the config file (optional)
Run php artisan vendor:publish
to publish the config file if needed.
Update your .env
Add these variables to your .env
file and configure it to fit your environment.
That's it!
Usage
You can use the facade to track.
Tracking
Basic functionality
Please see the https://developer.matomo.org/api-reference/PHP-Piwik-Tracker page for basic method documentation.
Additionally there are some Methods to simplyfy the usage:
Queues
For queuing you can use these functions.
For setting up queues, find the documentation on https://laravel.com/docs/6.x/queues.
Settings
Have a look in the https://developer.matomo.org/api-reference/PHP-Piwik-Tracker page for basic settings documentation.
Additionaly these settings are available:
Change log
Please see the changelog for more information on what has changed recently.
Security
If you discover any security related issues, please report in the issue tracker.
License
BSD-3-Clause. Please see the license file for more information.