PHP code example of proxytracer / flarum-proxytracer

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

    

proxytracer / flarum-proxytracer example snippets

bash
   php flarum cache:clear
   
nginx
location / {
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

    ...    
}
bash
> cd /var/www/flarum
> php flarum extension:disable proxytracer-proxytracer
> php flarum cache:clear
>