locate
is a Laravel package that provides a simple way to get a visitors Geolocation using their IP address.
You can install the package via composer:
composer require aesircloud/locate
php artisan vendor:publish --provider="AesirCloud\Locate\LocateServiceProvider"
use AesirCloud\Locate\Facades\Locator;
$location = Locator::locate('8.8.8.8');
Please see CHANGELOG for more information what has changed recently.
If you've found a bug regarding security please mail security@aesircloud.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.