nbz4live/laravel-geoip2

Laravel wrapper for MaxMind GeoIP2
1,208 3
Install
composer require nbz4live/laravel-geoip2
Latest Version:1.0.5
PHP:>=7.2
License:MIT
Last Updated:Nov 23, 2020
Links: GitHub  ·  Packagist
Maintainer: NBZ4live

GeoIP2 for Laravel 5.4+

Installation

  1. In order to install run the following composer command:
composer require nbz4live/laravel-geoip2
Laravel 5.5+ Install skip to step 4.
  1. Open your config/app.php and add the following to the providers array:
Nbz4live\LaravelGeoIP2\ServiceProvider::class,
  1. In the same config/app.php and add the following to the aliases array:
'GeoIP2' => Nbz4live\LaravelGeoIP2\Facades\GeoIP2::class,
  1. You can publish the config file by running (optional):
$ php artisan vendor:publish --provider="Nbz4live\LaravelGeoIP2\ServiceProvider"
  1. Run the update command to download the latest required databases
$ php artisan geoip:update

Related Packages

littio/laravel-geoip2

Laravel wrapper for MaxMind GeoIP2

35 0
acidreign/laravel-geoip2

Laravel wrapper for MaxMind GeoIP2

955 1
phirational/laravel-geoip2

Laravel wrapper for MaxMind GeoIP2

496 4
moharrum/laravel-geoip-world-cities

Laravel GeoIP World Cities provides MaxMind Free World Cities Database for larav...

8,017 2
pixxet/laravel-geoip-world-cities

Laravel GeoIP World Cities provides MaxMind Free World Cities Database for larav...

145 0