Laravel 的GeoIP 位置查询模块 平台支持 百度高德QQ淘宝IP-APIIPFinderIPGeoLocation 环境需求 PHP >= 7.3.0 Installation composer require larva/laravel-geoip $info= \Larva\GeoIP\GeoIP::getLocation('218.1.2.3'); $info= \Larva\GeoIP\GeoIP::with('baidu')->getLocation('218.1.2.3');