laravel-geoip:Laravel的GeoIP扩展

时间:2024-04-26 05:18:13
【文件属性】:

文件名称:laravel-geoip:Laravel的GeoIP扩展

文件大小:23KB

文件格式:ZIP

更新时间:2024-04-26 05:18:13

laravel PHP

laravel-geoip Laravel的IP位置查询模块 平台支持 环境需求 PHP> = 7.2.5 安装 composer require larva/laravel-geoip -vv $ 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' );


【文件预览】:
laravel-geoip-master
----database()
--------migrations()
----src()
--------Contracts()
--------GeoIPManager.php(5KB)
--------Providers()
--------Models()
--------IPInfo.php(5KB)
--------GeoIP.php(882B)
--------GeoIPServiceProvider.php(1KB)
----config()
--------geoip.php(1KB)
----README.md(1KB)
----.gitignore(525B)
----composer.json(840B)

网友评论