tprog/yii2-telize Get location by IP address use telize API

yii2-telize

Get location by IP address use telize API

http://www.telize.com/

Installation

Add in composer.json:

{
    "require": {
        "tprog/yii2-telize": "*@dev"
    }
}

Usage

<?
// ...

use tprog\telize\GeoIP;

$GeoIP = new GeoIP();

$GeoIP->request();

echo $GeoIP->longitude;
echo $GeoIP->latitude;
echo $GeoIP->continent_code;
echo $GeoIP->city;
echo $GeoIP->timezone;
echo $GeoIP->region;
echo $GeoIP->country_code;
echo $GeoIP->isp;
echo $GeoIP->country_code3;
echo $GeoIP->country;
echo $GeoIP->region_code;

Statistics

Downloads
GitHub Stars
GitHub Forks

Releases

No stable releases.

Comments



No stable releases.



MIT license
Stats
0 github stars & 1 github forks
0 downloads in the last day
0 downloads in the last 30 days
42 total downloads