PHP 库 Sypex Geo API (http://sypexgeo.net)

1.0.1 2021-03-26 16:31 UTC

This package is auto-updated.

Last update: 2024-09-26 23:56:00 UTC


README

Sypex Geo - 根据IP地址定位产品。获取IP地址后,Sypex Geo将输出关于访客位置的详细信息,包括国家、地区、城市、地理坐标等,支持俄语和英语。Sypex Geo 使用本地紧凑的二进制数据库文件,运行速度非常快。更多信息请访问:http://sypexgeo.net/

安装

安装此扩展的首选方法是通过 composer

composer require nuthouse-cis/sxgeo

或者将其添加到您的 composer.json 文件中。

{
  "require": {
    "nuthouse-cis/sxgeo": "*"
  }
}

测试

  • 单元测试
  $ vendor/bin/phpunit

  composer run-script test