# laravel-geoip **Repository Path**: phpnote/laravel-geoip ## Basic Information - **Project Name**: laravel-geoip - **Description**: GeoIP Extension for Laravel. - **Primary Language**: PHP - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2023-05-26 - **Last Updated**: 2023-05-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # laravel-geoip

Stable Version Total Downloads License

Laravel 的IP位置查询模块。 ## 平台支持 - [百度](http://lbsyun.baidu.com) - [高德](https://lbs.amap.com) - [QQ](https://lbs.qq.com) - [淘宝](http://ip.taobao.com) - [IP-API](https://ip-api.com) - [IPFinder](https://ipfinder.io) - [IPInfo](https://ipinfo.io/) - [IPIP](https://www.ipip.net) - [LibreSpeed](https://www.librespeed.cn) - [IPGeoLocation](https://ipgeolocation.io) ## 环境需求 - PHP >= 7.4 || 8.0 ## Installation ```bash composer require larva/laravel-geoip -vv ``` ```php $info= \Larva\GeoIP\GeoIP::get('218.1.2.3'); $info= \Larva\GeoIP\GeoIP::getRaw('218.1.2.3'); $info= \Larva\GeoIP\GeoIP::with('baidu')->get('218.1.2.3'); $info= \Larva\GeoIP\GeoIP::with('baidu')->getRaw('218.1.2.3'); ```