PHP code example of hbernaciak / laravel-piwik-tracking

1. Go to this page and download the library: Download hbernaciak/laravel-piwik-tracking library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

hbernaciak / laravel-piwik-tracking example snippets


protected $middleware = [
        \Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode::class,
        ...
        \App\Http\Middleware\PiwikCode::class
    ];