Download the PHP package coderius/yii2-geo-ip without Composer
On this page you can find all versions of the php package coderius/yii2-geo-ip. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package yii2-geo-ip
Yii 2 GeoIP extension
This extension allows you to get geo data by ip address.
Currently available:
- All fields of the database Maxmind
Install
Run
Or equal
OR
add to your composer.json
and run
Usage
Component registration in app config
somewhere in code
Provide a custom database (for example, if you own a licence)
Advanced usage
To see all the available properties, you need to do the following:
The result can be like :
When try to convert object to string like below, returned data from method _toString in equal classes objects:
Output:
For example get more info from city object:
This product includes GeoLite2 data created by MaxMind, available from http://www.maxmind.com
All versions of yii2-geo-ip with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
yiisoft/yii2 Version ~2.0.0
maxmind-db/reader Version ~1.0
coderius/maxmind-geolite2-db Version *
yiisoft/yii2 Version ~2.0.0
maxmind-db/reader Version ~1.0
coderius/maxmind-geolite2-db Version *
The package coderius/yii2-geo-ip contains the following files
Loading the files please wait ....