nqxcode/laravel-local-ip-detector
Composer 安装命令:
composer require nqxcode/laravel-local-ip-detector
包简介
Local IP detection with HTML5 WebRTC
README 文档
README
!!! NOT working on modern version of browsers with default settings !!!
Laravel 4.2 package provides fuctionality for detection of client Local IP (via HTML5 WebRTC) and storing of this address to the cookie.
Installation
Require this package in your composer.json and run composer update:
{
"require": {
"nqxcode/laravel-local-ip-detector": "1.*"
}
}
After updating composer, add the ServiceProvider to the providers array in app/config/app.php
'providers' => [ 'Nqxcode\LaravelLocalIpDetector\ServiceProvider', ],
Configuration
Publish the config file into your project by running:
php artisan config:publish nqxcode/laravel-local-ip-detector
License
Package licenced under the MIT license.
统计信息
- 总下载量: 12
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2018-04-15