- php: >=7.4
composer require gre/geoip
// Using the library
// Declaring the library's class
$GREGeoIP = new GeoIP();
Before we can use the methods of this library we have to set our
API Key. This can be done by calling the
After importing and defining the package you're ready now to use all it's functionalities. The library is consist or 2 main methods.