larva/laravel-geoip

GeoIP Extension for Laravel.

2.0.6 2024-02-01 03:14 UTC

README

Stable Version Total Downloads License

Laravel 的IP位置查询模块。

平台支持

环境需求

  • PHP >= 8.1

Installation

composer require larva/laravel-geoip -vv
    $info=  \Larva\GeoIP\GeoIP::get('218.1.2.3');
    $info=  \Larva\GeoIP\GeoIP::with('baidu')->get('218.1.2.3');