PHP code example of abdelhamiderrahmouni / pan-laravel-10

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

    

abdelhamiderrahmouni / pan-laravel-10 example snippets


use Pan\PanConfiguration;

public function register(): void
{
    PanConfiguration::allowedAnalytics([
        'tab-profile',
        'tab-settings',
    ]);
}

PanConfiguration::maxAnalytics(10000);

PanConfiguration::unlimitedAnalytics();

PanConfiguration::routePrefix('internal-analytics');
bash
php artisan install:pan
bash
php artisan pan
php artisan pan --filter=tab-profile
bash
php artisan pan:flush