Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/larvatecn/laravel-geoip
GeoIP Extension for Laravel.
https://github.com/larvatecn/laravel-geoip
geoip laravel php
Last synced: 12 days ago
JSON representation
GeoIP Extension for Laravel.
- Host: GitHub
- URL: https://github.com/larvatecn/laravel-geoip
- Owner: larvatecn
- Created: 2021-02-15T08:27:29.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2024-02-01T07:52:03.000Z (11 months ago)
- Last Synced: 2024-11-08T17:57:21.320Z (about 1 month ago)
- Topics: geoip, laravel, php
- Language: PHP
- Homepage:
- Size: 79.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# laravel-geoip
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 >= 8.1
## Installation
```bash
composer require larva/laravel-geoip -vv
``````php
$info= \Larva\GeoIP\GeoIP::get('218.1.2.3');
$info= \Larva\GeoIP\GeoIP::with('baidu')->get('218.1.2.3');
```