aesircloud / locate
A Laravel package for geolocation
0.1.0
2024-07-03 13:42 UTC
Requires
- php: ^8.2
- guzzlehttp/guzzle: ^7.8
- illuminate/support: ^11.0
Requires (Dev)
- orchestra/testbench: ^9.1
- pestphp/pest: ^2.34
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.