Torann / laravel-geoip

Determine the geographical location of website visitors based on their IP addresses.
http://lyften.com/projects/laravel-geoip
BSD 2-Clause "Simplified" License
2.09k stars 372 forks source link

Document location data change: isoCode is now iso_code #107

Open hackel opened 6 years ago

hackel commented 6 years ago

I just updated from v0.2.0 to 1.0.6, and after some debugging discovered that the former "isoCode" parameter returned in the location object is now called "iso_code". A minor, but extremely important detail that should be documented in your upgrade documentation! Hopefully this will be helpful to someone in a similar situation.