adrianorosa/laravel-geolocation
Detect visitors' location in Laravel with this simple, configurable geolocation package. Resolve IP addresses to country, city, coordinates, timezone, currency, and more, with built-in caching and provider options. Great for localization, geo-targeted content, pricing, and compliance.
Architecture fit
Integration feasibility
composer require, config publish, optional facade alias. A spike should still be achievable in under a day.laravel-shift, no reported breaking changes, no new features). That removes the most likely near-term integration blocker — being unable to run on the app's next Laravel major — without changing the shape of the integration.Technical risk
laravel-shift is a genuine positive signal — it indicates the maintainer accepts outside PRs and that the framework-compatibility burden is at least partly automated. Treat that as evidence of maintenance hygiene, not of provider stability or data-governance rigor.geoip2, stevebauman/location). Differentiation is thin, so switching cost later is low — which cuts both ways, and is why this stays a reversible bet.Key questions
X-Forwarded-For) correctly?Stack fit
Migration path
GeoResolver::forIp(string): GeoResult), bind the package's implementation to it in a service provider, and never reference the package's facade or DTOs outside that adapter.geoip2, a direct provider SDK, or an internal service without touching call sites.Compatibility
Sequencing
null/unknown result path.Maintenance
composer.json and treat minor upgrades as reviewable changes. Do not float the constraint on a package with this adoption profile.Support
Scaling
Failure modes
null results if callers do not check, propagating as wrong default locale or wrong currency.Ramp-up
How can I help you explore Laravel packages today?