igi/sypexgeo 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

igi/sypexgeo

Composer 安装命令:

composer require igi/sypexgeo

包简介

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

README 文档

README

Sypex Geo - product for location by IP address. Obtaining the IP address, Sypex Geo outputs information about the location of the visitor - country, region, city, geographical coordinates and other in Russian and in English. Sypex Geo use local compact binary database file and works very quickly. For more information visit: http://sypexgeo.net/

Installation

The preferred way to install this extension is through composer.

Add

"igi/sypexgeo": "*"

to the require section of your composer.json file.

Update database on "composer install" command

Put "post-install-cmd" event to composer.json

"scripts": {
    "post-install-cmd": [
        "IgI\\SypexGeo\\Composer::installDatabases"
    ]
}

Put "extra" settings to composer.json

"extra": {
    "sypexgeo_remote": "https://sypexgeo.net/files/SxGeoCity_utf8.zip",
    "sypexgeo_local": "/path/to/project/SxGeoCity.dat"
}

统计信息

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

GitHub 信息

  • Stars: 9
  • Watchers: 1
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-02-22