PHP code example of larryli / ipv4-console

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

    

larryli / ipv4-console example snippets

shell
ipv4 benchmark        # 性能测试
ipv4 clean            # 清除全部数据
ipv4 clean file       # 清除下载的文件数据
ipv4 clean database   # 清除生成的数据库数据
ipv4 dump             # 导出原始数据
ipv4 dump division    # 导出排序好的全部地址列表
ipv4 dump division_id # 导出排序好的全部地址和猜测行政区域代码列表
ipv4 dump count       # 导出记录统计数据
dump
memory_limit