Skip to content
An Interface to Piwik's Analytics API for Laravel (Composer Package).
PHP Shell Hack
Branch: master
Clone or download

Laravel-Piwik v3.3.1

Semaphore CI Code Climate Code Climate Minimum PHP Version Packagist Version Packagist Total Downloads

An Interface to Piwik's Analytics API for Laravel (Composer Package)

This is the Laravel 5 version of the Laravel-Piwik Bundle.


Add RobBrazier/Piwik to composer.json:

    "require": {
        "robbrazier/piwik": "~3.3"

Add 'RobBrazier\Piwik\PiwikServiceProvider' and 'Piwik' => 'RobBrazier\Piwik\Facades\Piwik' to app/config/app.php

'providers' = array(


'aliases' = array(
    '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 API Documentation is located at


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.



You can’t perform that action at this time.