# Torann/laravel-geoip

Determine the geographical location of website visitors based on their IP addresses.

Repository: https://github.com/Torann/laravel-geoip
Canonical: https://ross.abutalabs.com/products/laravel-geoip
Homepage: http://lyften.com/projects/laravel-geoip
Language: PHP
License: BSD-2-Clause
License Family: permissive
Last push: 2026-04-10T19:12:47+00:00

## Health v2 (maintenance only)
Score: 70/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 76, release rhythm 46, longevity 100
- inputs: {"age_days": 4648, "days_push": 145, "days_rel": 145, "gap_med": 409, "n_releases_24m": 2}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2229, forks 390 (observed 2026-08-28T04:06:28.996738+00:00)

## What it is
A Laravel package that determines the geographical location and currency of website visitors based on their IP addresses. It supports multiple pluggable lookup services and caches results to reduce API calls.

## Use cases
- detect visitor country from ip address in laravel
- show localized content based on user location
- determine user currency for pricing
- geo-target website content by ip
- log geographic location of requests
- redirect users to regional site based on ip

## When to choose
- you have a Laravel app and need IP-based geolocation
- you want pluggable geoip services with built-in caching
- you need currency detection alongside location

## When to avoid
- you are not using Laravel or PHP
- you need precise GPS-level location rather than IP-based approximation
- you need a standalone geolocation database rather than a framework package

## Facets
- artifact type: library
- maturity: stable
- function: geospatial, caching, sdk
- domain: web-development, backend
- platform: php
- tags: geoip, ip-geolocation, laravel-package, visitor-location, currency-detection, maps, laravel, web-server

## Member repositories
- Torann/laravel-geoip (main) score 70

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:28.996738+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:44:39.920067+00:00, confidence not recorded.
  - readme: https://github.com/Torann/laravel-geoip (fetched 2026-08-28T04:06:28.996738+00:00, sha cd197babac5f)
  - homepage: http://lyften.com/projects/laravel-geoip (fetched 2026-08-29T10:25:15.897470+00:00, sha 13d09eb0c5e2)
  - site_page: https://lyften.com/projects/laravel-geoip/doc (fetched 2026-08-29T10:25:15.899775+00:00, sha 090325aaa59f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
