robbrazier/piwik is a Laravel package for piwik package for laravel.
It currently has 110 GitHub stars and 177.876 downloads on Packagist (latest version 4.2.0).
Install it with composer require robbrazier/piwik.
Discover more Laravel packages by robbrazier
or browse all Laravel packages to compare alternatives.
Last updated
An Interface to Piwik's Analytics API for Laravel (Composer Package)
This is the Laravel 5+ version of the Laravel-Piwik Bundle.
Version 4.0.0 and onwards have dropped support for PHP 5.6, 7.0 and 7.1
Add RobBrazier/Piwik to composer.json:
{
"require": {
"robbrazier/piwik": "~4.2"
}
}
Add 'RobBrazier\Piwik\PiwikServiceProvider' and 'Piwik' => 'RobBrazier\Piwik\Facades\Piwik'
to app/config/app.php
'providers' = [
...
RobBrazier\Piwik\PiwikServiceProvider::class,
...
],
[...]
'aliases' = [
...
'Piwik' => RobBrazier\Piwik\Facades\Piwik::class,
...
],
Then move the config file out of the package, so that it doesn't get replaced when you update, by running:
php artisan vendor:publish --provider="RobBrazier\Piwik\PiwikServiceProvider" --tag="config"
Update your packages with composer update or install with composer install.
Then go to config/piwik.php and add your config settings such as server,
apikey, siteid etc.
Usage Documentation is located at https://docs.robbrazier.com/Laravel_Piwik/Usage.html API Documentation is located at https://docs.robbrazier.com/Laravel_Piwik/API_Docs.html
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
Get paid by clients abroad
Wise gives you local bank details in several currencies and converts at the mid-market rate. Useful when your invoices are not in your own currency.
Try WiseNew Laravel packages worth a look, once a month. No spam, one-click unsubscribe.