Download the PHP package alfrasc/laravel-matomo-tracker without Composer
On this page you can find all versions of the php package alfrasc/laravel-matomo-tracker. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download alfrasc/laravel-matomo-tracker
More information about alfrasc/laravel-matomo-tracker
Files in alfrasc/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 BSD-3-Clause
Homepage https://github.com/alfrasc/matomotracker
Informations about the package laravel-matomo-tracker
LaravelMatomoTracker
About
The alfrasc\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 alfrasc\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.
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Alexander Schmidhuber
- All Contributors
License
BSD-3-Clause. Please see the license file for more information.