PHPackages                             itech-ro/geolocation - 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. itech-ro/geolocation

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

itech-ro/geolocation
====================

Geolocation services for Laravel 5.x

1.0.4(8y ago)026MITPHPPHP &gt;=5.6

Since Jan 27Pushed 8y agoCompare

[ Source](https://github.com/itech-ro/geolocation)[ Packagist](https://packagist.org/packages/itech-ro/geolocation)[ RSS](/packages/itech-ro-geolocation/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (4)Dependencies (1)Versions (7)Used By (0)

Geolocation package for Laravel 5.x
===================================

[](#geolocation-package-for-laravel-5x)

This package provides geolocation information including country, city, latitude and longitude based on request IP. There are a few available providers: Extreme IP Lookup, Free GeoIP, Geobytes and Geoplugin.

Instalation
-----------

[](#instalation)

Install the package using composer:

```
composer require itech-ro/geolocation

```

Edit **app/config.php** and add this line to providers array:

```
    'providers' => [
        ...
        Roitech\Geolocation\GeolocationServiceProvider::class,
        ...
    ];

```

Create a configuration file **config/geolocation.php** with the content:

```
