A driver-based package to handle IP geolocation for Laravel
You can install the package via composer:
composer require worksome/laravel-ip-geolocationYou can publish the config file with:
php artisan vendor:publish --tag="ip-geolocation-config"use Worksome\IpGeolocation\Facades\IpGeolocation;
/** @var \Worksome\IpGeolocation\DataValues\Location $location */
$location = IpGeolocation::location('2606:4700:4700::1111');
echo $location->country;
echo $location->city;
echo $location->zipcode;This package adds information to the artisan about command. This information can be disabled by setting
the ip-geolocation.features.about_command configuration to false.
composer testPlease see GitHub Releases for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.
The MIT License (MIT). Please see License File for more information.