PHP code example of souravmsh / laravel-tracker

1. Go to this page and download the library: Download souravmsh/laravel-tracker 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/ */

    

souravmsh / laravel-tracker example snippets


'routes' => [
    'prefix'     => 'admin/analytics',
    'middleware' => ['web', 'auth', 'role:admin'],
],
bash
   php artisan tracker:install
   php artisan vendor:publish --tag=tracker-assets --force
   
bash
   php artisan migrate