false, /* |-------------------------------------------------------------------------- | Include Currency in Results |-------------------------------------------------------------------------- | | When enabled the system will do it's best in deciding the user's currency | by matching their ISO code to a preset list of currencies. | */ 'include_currency' => false, /* |-------------------------------------------------------------------------- | Default Service |-------------------------------------------------------------------------- | | Here you may specify the default storage driver that should be used | by the framework. | | Supported: "maxmind_database", "maxmind_api", "ipapi" | */ 'service' => 'ipapi', /* |-------------------------------------------------------------------------- | Storage Specific Configuration |-------------------------------------------------------------------------- | | Here you may configure as many storage drivers as you wish. | */ 'services' => [ 'maxmind_database' => [ 'class' => MaxMindDatabase::class, 'database_path' => storage_path('app/geoip.mmdb'), 'update_url' => sprintf('https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=%s&suffix=tar.gz', env('MAXMIND_LICENSE_KEY')), 'locales' => ['en'], ], 'maxmind_api' => [ 'class' => MaxMindWebService::class, 'user_id' => env('MAXMIND_USER_ID'), 'license_key' => env('MAXMIND_LICENSE_KEY'), 'locales' => ['en'], ], 'ipapi' => [ 'class' => IPApi::class, 'secure' => true, 'key' => env('IPAPI_KEY'), 'continent_path' => storage_path('app/continents.json'), 'lang' => 'en', ], 'ipgeolocation' => [ 'class' => IPGeoLocation::class, 'secure' => true, 'key' => env('IPGEOLOCATION_KEY'), 'continent_path' => storage_path('app/continents.json'), 'lang' => 'en', ], 'ipdata' => [ 'class' => IPData::class, 'key' => env('IPDATA_API_KEY'), 'secure' => true, ], 'ipfinder' => [ 'class' => IPFinder::class, 'key' => env('IPFINDER_API_KEY'), 'secure' => true, 'locales' => ['en'], ], ], /* |-------------------------------------------------------------------------- | Default Cache Driver |-------------------------------------------------------------------------- | | Here you may specify the type of caching that should be used | by the package. | | Options: | | all - All location are cached | some - Cache only the requesting user | none - Disable cached | */ 'cache' => 'none', /* |-------------------------------------------------------------------------- | Cache Tags |-------------------------------------------------------------------------- | | Cache tags are not supported when using the file or database cache | drivers in Laravel. This is done so that only locations can be cleared. | */ 'cache_tags' => [], /* |-------------------------------------------------------------------------- | Cache Expiration |-------------------------------------------------------------------------- | | Define how long cached location are valid. | */ 'cache_expires' => 30, /* |-------------------------------------------------------------------------- | Default Location |-------------------------------------------------------------------------- | | Return when a location is not found. | */ 'default_location' => [ 'ip' => '127.0.0.0', 'iso_code' => 'IRN', 'country' => 'Islamic Republic of Iran', 'city' => 'Tehran', 'state' => 'teh', 'state_name' => 'Connecticut', 'postal_code' => '513', 'lat' => 35.6892, 'lon' => 51.3890, 'timezone' => 'Asia/Tehran', 'continent' => 'Asia', 'default' => true, 'currency' => 'IRR', ], ];