PHP code example of mattitjaab / laravel-plausible-proxy

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

    

mattitjaab / laravel-plausible-proxy example snippets


return [
    'domain' => env('PLAUSIBLE_DOMAIN', 'https://plausible.io'),
    'site' => env('PLAUSIBLE_SITE', 'example.com'),
];
sh
   php artisan vendor:publish --tag=plausible-proxy-config
   
sh
   php artisan queue:table
   php artisan migrate