PHP code example of ge-tracker / laravel-vapor-trusted-proxies

1. Go to this page and download the library: Download ge-tracker/laravel-vapor-trusted-proxies 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/ */

    

ge-tracker / laravel-vapor-trusted-proxies example snippets




namespace App\Http\Middleware;

use GeTracker\LaravelVaporTrustedProxies\Http\LaravelVaporTrustedProxies as Middleware;
use Illuminate\Http\Request;

class TrustProxies extends Middleware
{
    ...