aesircloud/locate

A Laravel package for geolocation

0.1.0 2024-07-03 13:42 UTC

This package is auto-updated.

Last update: 2024-11-03 14:49:54 UTC


README

locate is a Laravel package that provides a simple way to get a visitors Geolocation using their IP address.

Installation

You can install the package via composer:

composer require aesircloud/locate

Publish the configuration file

php artisan vendor:publish --provider="AesirCloud\Locate\LocateServiceProvider"

Usage

use AesirCloud\Locate\Facades\Locator;

$location = Locator::locate('8.8.8.8');

Changelog

Please see CHANGELOG for more information what has changed recently.

Security

If you've found a bug regarding security please mail security@aesircloud.com instead of using the issue tracker.

License

The MIT License (MIT). Please see License File for more information.