LaravelPackages.net
Acme Inc.
Toggle sidebar
nqxcode/laravel-local-ip-detector

Local IP detection with HTML5 WebRTC

12
0
v1.0.2
About nqxcode/laravel-local-ip-detector

nqxcode/laravel-local-ip-detector is a Laravel package for local ip detection with html5 webrtc. It currently has 0 GitHub stars and 12 downloads on Packagist (latest version v1.0.2). Install it with composer require nqxcode/laravel-local-ip-detector. Discover more Laravel packages by nqxcode or browse all Laravel packages to compare alternatives.

Last updated

Laravel 4.2 Local IP detector

!!! 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.

Comments