nnjeim/world
Laravel package with a comprehensive dataset of countries, states, cities, timezones, currencies and languages, plus IP geolocation. Query via the World facade or built-in API routes, with installer command and optional custom DB connection.
Undefined array key "class" error when running php artisan world:install with geolocate module enabledstate_code columnNew Geolocate Module: IP-based geolocation feature Added World::geolocate() facade method for IP geolocation Added GET /api/geolocate endpoint with automatic IP detection Added MaxMind GeoLite2 database support via geoip2/geoip2 package Added fallback to ip-api.com when database not installed Added php artisan world:geoip command to download GeoLite2 database Added Geolocate middleware for automatic IP resolution from headers IP detection supports: CF-Connecting-IP, X-Forwarded-For, X-Real-IP, CLIENT-IP Returns linked Country, State, City models with database IDs when available Configurable via world.modules.geolocate and world.geolocate settings
How can I help you explore Laravel packages today?