https://github.com/imanilchaudhari/yii2-ipinfodb
An extensions for ipionfodb. Which returns the location of an IP address (country, region, city, zipcode, latitude and longitude) and the associated timezone in JSON format.
https://github.com/imanilchaudhari/yii2-ipinfodb
Last synced: 3 months ago
JSON representation
An extensions for ipionfodb. Which returns the location of an IP address (country, region, city, zipcode, latitude and longitude) and the associated timezone in JSON format.
- Host: GitHub
- URL: https://github.com/imanilchaudhari/yii2-ipinfodb
- Owner: imanilchaudhari
- License: mit
- Created: 2016-03-26T13:25:33.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-04-08T05:48:00.000Z (about 7 years ago)
- Last Synced: 2025-01-13T15:33:05.926Z (5 months ago)
- Language: PHP
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Yii2 ipinfo db [ under development ]
==============
An extensions for ipionfodb. Which returns the location of an IP address (country, region, city, zipcode, latitude and longitude) and the associated timezone in JSON format.Installation
------------The preferred way to install this extension is through [composer](http://getcomposer.org/download/).
Either run
```
php composer.phar require --prefer-dist imanilchaudhari/yii2-ipinfodb "*"
```or add
```
"imanilchaudhari/yii2-ipinfodb": "*"
```to the require section of your `composer.json` file.
Usage
-----Once the extension is installed, simply use it in your code by :