PHP code example of slvler / whoami

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

    

slvler / whoami example snippets


use Whoami;

Whoami::get("127.0.0.1")->result();

Whoami::get("127.0.0.1")->filter(['status','message','country','zip','query'])->result();