Magento2 Online Store can use this extension to detect a country, postcode from a visitor IP via other online services like MindMax, Íptack and be extendable for other GeoIp services.
composer require betagento/magento2-geoip-detection:dev-main
This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.
composer require require geoip2/geoip2:~2.0
composer require tronovav/geoip2-update
Go to Store » Configuration » Betagento » GEOIP Detection:
bin/magento betagento:geoip_detection:maxmind_download
bin/magento betagento:geoip_detection:test --ip 12.13.14.15
PHPSTAN - Level 6