torann/geoip
GeoIP for Laravel resolves visitor location and currency from IP addresses via configurable services. Integrates with Laravel, supports multiple drivers/providers, and lets you publish config to choose and tune your lookup service.
Adopt when:
Look elsewhere if:
spatie/laravel-geocoder or a dedicated geospatial database.For Executives:
*"This Laravel package is a strategic enabler for global growth, allowing us to launch region-specific features in weeks instead of months—without hiring additional engineers. By adopting torann/geoip, we unlock:
For Engineering Leaders: *"A production-ready, Laravel-native solution that abstracts geolocation providers (MaxMind, ipdata.co) into a single, maintainable dependency. Key technical advantages:
public function handle(Request $request, Closure $next) {
$location = GeoIP::getLocation();
if ($location->countryCode === 'US') {
return redirect()->route('us.home');
}
return $next($request);
}
For Product Managers: *"This package enables three high-impact features with zero additional engineering resources:
For Security/Compliance Teams:
*"By integrating torann/geoip, we can:
For Data/Analytics Teams: *"This package provides ready-to-use geolocation data for:
For Customer Support/Success Teams: *"This solution enables proactive regional support by:
How can I help you explore Laravel packages today?