承接 triesss/ip-nation-locator 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

triesss/ip-nation-locator

Composer 安装命令:

composer require triesss/ip-nation-locator

包简介

This package will provide the origin nation for a given ip address.

README 文档

README

This package is used to get the country of an IP address. You can use the IpNationLocator class to get the country of an IP address. To make the class work, you need to provide a CSV or Sqlite3 file containing the IP ranges and the country codes.

Requirements

  • A CSV or Sqlite3 file containing the IP ranges and the country codes in ISO 3166-1 alpha-2
    • The CSV file should have the following columns:
      • ip_network: The network address with its' subnet mask, e.g. 1.2.0.0/24
      • country_code: The country code
    • The Sqlite3 file must have a table ip_networks with the following columns:
      • ip_network: The network address with its' subnet mask, e.g. 1.2.0.0/24
      • country_code: The country code

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-08-30