worksome/laravel-ip-geolocation
最新稳定版本:v0.2.3
Composer 安装命令:
composer require worksome/laravel-ip-geolocation
包简介
A driver-based package to handle IP geolocation for Laravel
README 文档
README
A driver-based package to handle IP geolocation for Laravel
Installation
You can install the package via composer:
composer require worksome/laravel-ip-geolocation
You can publish the config file with:
php artisan vendor:publish --tag="ip-geolocation-config"
Usage
use Worksome\IpGeolocation\Facades\IpGeolocation; /** @var \Worksome\IpGeolocation\DataValues\Location $location */ $location = IpGeolocation::location('2606:4700:4700::1111'); echo $location->country; echo $location->city; echo $location->zipcode;
The about command
This package adds information to the artisan about command. This information can be disabled by setting
the ip-geolocation.features.about_command configuration to false.
Testing
composer test
Changelog
Please see GitHub Releases for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 234.95k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-10-26