Laravel-Piwik is an easy way to interface with the Piwik Analytics API
Install using Artisan CLI:
php artisan bundle:install piwik
Add the following line to application/bundles.php
return array(
'piwik' => array('auto' => true, 'handles'=>'piwik_install'),
);
More detailed installation process here
There are two ways to use this class: you can call it statically or non-statically.
Static:
Piwik::actions();
Non-static:
$piwik = new Piwik();
$piwik->actions();