README
- composer包
- 通过IP获取位置
- php >= 8.0.26
安装
composer require calmw/ipseek --ignore-platform-reqs
使用方法
use Calm\IpSeek;
class Location
{
public function getLocationByIp($ip): array
{
$ipSeek = new IpSeek();
$ipSeek->getLocationByIp($ip);
}
}
composer包开发流程