PHPackages                             sabartampubolon/geoip - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. sabartampubolon/geoip

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

sabartampubolon/geoip
=====================

Simple Geo Location Information using IP Address

1.5.2(10y ago)234Pistarlabs Digital SolusiPHP

Since Apr 11Pushed 8y ago1 watchersCompare

[ Source](https://github.com/sabartampubolon/geoip)[ Packagist](https://packagist.org/packages/sabartampubolon/geoip)[ RSS](/packages/sabartampubolon-geoip/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (3)DependenciesVersions (9)Used By (0)

Geo IP
======

[](#geo-ip)

[![Latest Version on Packagist](https://camo.githubusercontent.com/e88e36019802fced597ce7b644fcf9b73a1859ed174ffcf4859095c93184f4c1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736162617274616d7075626f6c6f6e2f67656f69702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sabartampubolon/geoip)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/4232ccdc4fb2f6794271ccf90370abe7e0064ea2abc13763d47d0b24639e6ff6/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f736162617274616d7075626f6c6f6e2f67656f69702f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/sabartampubolon/geoip)[![Coverage Status](https://camo.githubusercontent.com/147fd2905621563ab6805a314ddccd831e7f30e3f09572fadc086b605c9a927d/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f736162617274616d7075626f6c6f6e2f67656f69702e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/sabartampubolon/geoip/code-structure)[![Quality Score](https://camo.githubusercontent.com/6ad6eb77d4b843bd68d0a6ae6e715d1ba4d67e6293917ea080423021bb6b41ac/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f736162617274616d7075626f6c6f6e2f67656f69702e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/sabartampubolon/geoip)[![Total Downloads](https://camo.githubusercontent.com/9fc0751e01cc4b6f8bf8b3b58a473a5fe551c2a745a49dca52dd83c878edb1a4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736162617274616d7075626f6c6f6e2f67656f69702e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sabartampubolon/geoip)

Geo Ip took all available information from an Ip Address using data from [GeoPlugin](http://www.geoplugin.net).

Work with Laravel 5.5 (tested).

Geo IP use [Geoplugin](http://www.geoplugin.net) to gather information.

Install
-------

[](#install)

You can install GeoIp via [composer](https://getcomposer.org/).

```
$ composer require sabartampubolon/geoip
```

Requires Laravel Framework 5.5 and PHP 5.5.9 or newer. Visit GeoIp repository at [Packagist](https://packagist.org/packages/sabartampubolon/geoip).

Usage
-----

[](#usage)

To use GeoIp, you can simply inject GeoIp instance into Laravel controller

```
