PHP code example of irazasyed / laravel-gamp

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

    

irazasyed / laravel-gamp example snippets


$app->register(Irazasyed\LaravelGAMP\LaravelGAMPServiceProvider::class);
 bash
$ php artisan vendor:publish --provider="Irazasyed\LaravelGAMP\LaravelGAMPServiceProvider"
 php
'tracking_id' => 'UA-XXXX-Y',
 php
'is_ssl' => true,
 php
'is_disabled' => true,
 php
'anonymize_ip' => true,
 php
'async_requests'  => true,