此包已被 废弃 并不再维护。未建议替代包。
此包最新版本(0.1.0)没有可用的许可证信息。

SilverStripe 的 GeoIP 模块。

安装数: 32,387

依赖项: 0

建议者: 1

安全: 0

星标: 11

关注者: 17

分支: 14

公开问题: 5

类型:silverstripe-module

0.1.0 2016-03-07 20:40 UTC

This package is not auto-updated.

Last update: 2024-07-10 21:54:52 UTC


README

GeoIP 模块

维护者联系方式

Sean Harvey(昵称:sharvey,halkyon)<sean (at) silverstripe (dot) com>

要求

GeoIP 二进制文件

FreeBSD

cd /usr/ports/net/GeoIP
make install clean

Debian/Ubuntu

apt-get install geoip-bin geoip-database

CentOS/RHEL

yum install GeoIP GeoIP-data

安装

composer require "silverstripe/geoip" "dev-master"

功能

此模块提供了 GeoIP 类,用于将 IP 地址解析为国家代码。