You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Im trying to use this to check which country specific IP-addresses belongs to, but: php artisan geo:info [IP (e.g. 122.11.11.14)], returns no data at all. Is this something that I should combine with anything else? Like a maxmind DB? If that's the case then I did not understand the documentation or where to configurate this.
I also added this to my .env-file:
GEOIP_COUNTRY=/storage/app/GeoLite2-Country.mmdb
GEOIP_CITY=/storage/app/GeoLite2-City.mmdb
and set true on country and city in my config/geo.php
Is it possible to get more information from you about this?
The text was updated successfully, but these errors were encountered:
If you set .mmdb files path using GEOIP_COUNTRY and GEOIP_CITY then you don't need to change default values in the config/geo.php file. (ie: don't set to true in geo.php)
File path should be relative to application root folder or can be any absolute path.
Example of relative path to laravel application storage :
Hi,
Nice package!
Im trying to use this to check which country specific IP-addresses belongs to, but: php artisan geo:info [IP (e.g. 122.11.11.14)], returns no data at all. Is this something that I should combine with anything else? Like a maxmind DB? If that's the case then I did not understand the documentation or where to configurate this.
I also added this to my .env-file:
GEOIP_COUNTRY=/storage/app/GeoLite2-Country.mmdb
GEOIP_CITY=/storage/app/GeoLite2-City.mmdb
and set true on country and city in my config/geo.php
Is it possible to get more information from you about this?
The text was updated successfully, but these errors were encountered: