PHP code example of kylepretorius / ipchecker-lib

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

    

kylepretorius / ipchecker-lib example snippets


$result = new IPChecker(['192.168.1.0/16', '192.168.10.89/32'])->detect(192.168.1.1);