PHP code example of josantonius / ip

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

    

josantonius / ip example snippets


Ip::get();

Ip::validate($ip);



use Josantonius\Ip\Ip;



use Josantonius\Ip\Ip;

Ip::get();

$ip = Ip::get();

Ip::validate($ip);