PHP code example of x-blade / x-blade-visitor-tracker

1. Go to this page and download the library: Download x-blade/x-blade-visitor-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/ */

    

x-blade / x-blade-visitor-tracker example snippets


return [
    'storage_path' => storage_path('app/visitor.json'),
    'enabled' => true,
    'excluded_ips' => [
        '127.0.0.1',
    ],
];
sh
php artisan vendor:publish --tag=visitor-tracker-config
sh
php artisan vendor:publish --tag=visitor-tracker-views --force