edit this page Upgrade
Upgrading To 1.0 From 0.2
composer.json file to point to
The location return when using the
getLocation() method now returns an array accessible
The namespace for the facade has changed to
\Torann\GeoIP\Facades\GeoIP::class. This was done to help clean up the package folder. Though you may want to consider using the helper function
geoip. See basic usage
The config file has completely changed geoip.php.
To simplify and keep things clean, all third party composer packages, that are needed for a service, are installed separately.
If you are using the MaxMind service you must require the following composer package:
$ composer require geoip2/geoip2 ~2.1
Environment Variable Changes