IP2Location.IO PHP SDK allows user to query for an enriched data set based on IP address and provides WHOIS lookup api that helps users to obtain domain information.
Why do you think that https://github.com/codenameone/CodenameOne is a good alternative to ip2location-io-php